Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 103.4 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1969/0.1969, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 65.47 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1075, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01467/0.1222, allocations: 13.74 MB / 0.5009 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009735/0.132, allocations: 4.595 MB / 0.5053 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.1343, allocations: 87.75 kB / 0.5054 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007091/0.1415, allocations: 3.773 MB / 0.5091 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006184/0.1477, allocations: 2.365 MB / 0.5114 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.1503, allocations: 0.9943 MB / 0.5124 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008024/0.1583, allocations: 5.913 MB / 0.5182 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005347/0.1637, allocations: 4.687 MB / 0.5227 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.167, allocations: 2.079 MB / 0.5248 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003838/0.1708, allocations: 2.831 MB / 0.5275 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009486/0.1718, allocations: 447.9 kB / 0.528 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.1745, allocations: 1.479 MB / 0.5294 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2194/0.3939, allocations: 2.626 MB / 0.532 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00571/0.3997, allocations: 3.005 MB / 0.5349 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.4129, allocations: 9.524 MB / 0.5442 GB, free: 9.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.413, allocations: 0 / 0.5442 GB, free: 9.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.413, allocations: 1.969 kB / 0.5442 GB, free: 9.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003907/0.4134, allocations: 0.9688 kB / 0.5442 GB, free: 9.777 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02297/0.4363, allocations: 6.585 MB / 0.5506 GB, free: 7.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.4364, allocations: 12.64 kB / 0.5507 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0036/0.44, allocations: 0.8925 MB / 0.5515 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0369/0.4769, allocations: 6.118 MB / 0.5575 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.4871, allocations: 4.799 MB / 0.5622 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.4874, allocations: 299 kB / 0.5625 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/0.4891, allocations: 406 kB / 0.5629 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.5116, allocations: 12.48 MB / 0.575 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.5118, allocations: 66.75 kB / 0.5751 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008598/0.5126, allocations: 191.9 kB / 0.5753 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003665/0.5163, allocations: 2.406 MB / 0.5776 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.5377, allocations: 10.28 MB / 0.5877 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06373/0.6014, allocations: 48.15 MB / 0.6347 GB, free: 1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.6133, allocations: 4.669 MB / 0.6393 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.6166, allocations: 2.315 MB / 0.6415 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.629, allocations: 6.9 MB / 0.6483 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.6291, allocations: 54.67 kB / 0.6483 GB, free: 2.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.3e-06/0.6291, allocations: 4 kB / 0.6483 GB, free: 2.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04441/0.6735, allocations: 16.18 MB / 0.6641 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.6737, allocations: 198.9 kB / 0.6643 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009972/0.6837, allocations: 5.86 MB / 0.67 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005032/0.6842, allocations: 53.7 kB / 0.6701 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002944/0.6872, allocations: 3.999 MB / 0.674 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.6883, allocations: 0.77 MB / 0.6747 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002008/0.6903, allocations: 1.428 MB / 0.6761 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.6904, allocations: 305.1 kB / 0.6764 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/0.6939, allocations: 2.383 MB / 0.6788 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006097/0.7, allocations: 6.804 MB / 0.6854 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.7108, allocations: 9.953 MB / 0.6951 GB, free: 15.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/0.7109, allocations: 44 kB / 0.6952 GB, free: 15.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01772/0.7287, allocations: 9.418 MB / 0.7044 GB, free: 5.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.7288, allocations: 72 kB / 0.7044 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/0.729, allocations: 160 kB / 0.7046 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.7308, allocations: 0.7126 MB / 0.7053 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005505/0.7363, allocations: 1.645 MB / 0.7069 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007647/0.744, allocations: 6.828 MB / 0.7136 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006257/0.7503, allocations: 387.3 kB / 0.7139 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/0.7517, allocations: 443.9 kB / 0.7143 GB, free: 11.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 859 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005508/0.7572, allocations: 2.619 MB / 0.7169 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/0.7583, allocations: 489.4 kB / 0.7174 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005815/0.7642, allocations: 3.245 MB / 0.7205 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/0.7642, allocations: 20 kB / 0.7206 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.7643, allocations: 8 kB / 0.7206 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.7643, allocations: 11.97 kB / 0.7206 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.7817, allocations: 8.532 MB / 0.7289 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.7818, allocations: 7.938 kB / 0.7289 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.7836, allocations: 363.4 kB / 0.7293 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.785, allocations: 494.7 kB / 0.7297 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/0.7853, allocations: 32 kB / 0.7298 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006669/0.792, allocations: 6.198 MB / 0.7358 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.792, allocations: 7.938 kB / 0.7358 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008343/0.8003, allocations: 5.826 MB / 0.7415 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/0.8026, allocations: 0.7954 MB / 0.7423 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007969/0.8034, allocations: 39.98 kB / 0.7423 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.8051, allocations: 95.89 kB / 0.7424 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.8054, allocations: 117 kB / 0.7425 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.8055, allocations: 55.98 kB / 0.7426 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006336/0.8118, allocations: 3.751 MB / 0.7463 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8119, allocations: 4 kB / 0.7463 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006547/0.8184, allocations: 1.214 MB / 0.7474 GB, free: 9.094 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008537/0.827, allocations: 6.484 MB / 0.7538 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2184/1.045, allocations: 5.825 MB / 0.7595 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.046, allocations: 5.125 kB / 0.7595 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.048, allocations: 1.745 MB / 0.7612 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.053, allocations: 0.6536 MB / 0.7618 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08564/1.138, allocations: 58.24 MB / 0.8187 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004121/1.143, allocations: 4.016 MB / 0.8226 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004731/1.147, allocations: 2.291 MB / 0.8248 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003378/1.151, allocations: 2.51 MB / 0.8273 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.372e-06/1.151, allocations: 0 / 0.8273 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.285, allocations: 91.44 MB / 0.9166 GB, free: 67.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20/21.29, allocations: 3.938 kB / 0.9166 GB, free: 67.94 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches