Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 116.9 kB / 17.08 MB, free: 6.012 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.001493/0.001493, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.419/1.419, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2005/0.2005, allocations: 43.52 MB / 314.8 MB, free: 464 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.001713/0.001713, allocations: 71.89 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1075, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01752/0.125, allocations: 16.95 MB / 0.5051 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1374, allocations: 5.292 MB / 0.5103 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003778/0.1412, allocations: 111.7 kB / 0.5104 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009696/0.1509, allocations: 5.074 MB / 0.5154 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007806/0.1588, allocations: 2.77 MB / 0.5181 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.1623, allocations: 1.248 MB / 0.5193 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.1742, allocations: 7.745 MB / 0.5268 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2822/0.4564, allocations: 6.138 MB / 0.5328 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006273/0.4627, allocations: 2.705 MB / 0.5355 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007675/0.4704, allocations: 3.744 MB / 0.5391 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00304/0.4735, allocations: 0.5901 MB / 0.5397 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005972/0.4795, allocations: 1.599 MB / 0.5413 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008296/0.4878, allocations: 3.449 MB / 0.5446 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.499, allocations: 3.801 MB / 0.5484 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.5177, allocations: 11.91 MB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5178, allocations: 0.75 kB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5178, allocations: 0 / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005232/0.5183, allocations: 2.375 kB / 0.56 GB, free: 2.621 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.026/0.5443, allocations: 8.062 MB / 0.5679 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5444, allocations: 10 kB / 0.5679 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/0.5619, allocations: 3.169 MB / 0.571 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.577, allocations: 5.24 MB / 0.5761 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/0.5774, allocations: 389.9 kB / 0.5765 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003045/0.5805, allocations: 0.5186 MB / 0.577 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03931/0.6198, allocations: 15.78 MB / 0.5924 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004664/0.6203, allocations: 73.52 kB / 0.5925 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/0.6231, allocations: 249.6 kB / 0.5927 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005818/0.629, allocations: 2.925 MB / 0.5955 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03134/0.6603, allocations: 13.16 MB / 0.6084 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09751/0.7579, allocations: 60.12 MB / 0.6671 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.7737, allocations: 6.091 MB / 0.6731 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00535/0.7791, allocations: 3.374 MB / 0.6764 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.7794, allocations: 47.69 kB / 0.6764 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.7795, allocations: 63.22 kB / 0.6765 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.891e-06/0.7795, allocations: 448 / 0.6765 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=260): time 0.08151/0.861, allocations: 25.87 MB / 0.7017 GB, free: 9.574 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.8612, allocations: 264 kB / 0.702 GB, free: 9.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/0.8772, allocations: 6.973 MB / 0.7088 GB, free: 2.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008843/0.8781, allocations: 65.7 kB / 0.7089 GB, free: 2.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005342/0.8835, allocations: 4.798 MB / 0.7135 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/0.8854, allocations: 1.012 MB / 0.7145 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006448/0.8919, allocations: 1.81 MB / 0.7163 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.892, allocations: 301.1 kB / 0.7166 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00655/0.8986, allocations: 3.312 MB / 0.7198 GB, free: 7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/0.9102, allocations: 8.489 MB / 0.7281 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/0.9268, allocations: 12.64 MB / 0.7404 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001868/0.9271, allocations: 52 kB / 0.7405 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02793/0.955, allocations: 13.09 MB / 0.7533 GB, free: 256 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.9552, allocations: 84.78 kB / 0.7534 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2358/1.191, allocations: 184.8 kB / 0.7535 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/1.196, allocations: 1.771 MB / 0.7553 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007835/1.204, allocations: 2.114 MB / 0.7573 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/1.22, allocations: 12.42 MB / 0.7695 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008008/1.228, allocations: 0.4929 MB / 0.7699 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/1.23, allocations: 0.5132 MB / 0.7704 GB, free: 191.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1087): * Single equations (assignments): 1081 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008747/1.238, allocations: 3.216 MB / 0.7736 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/1.24, allocations: 0.5771 MB / 0.7741 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.253, allocations: 5.805 MB / 0.7798 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.794e-05/1.253, allocations: 27.5 kB / 0.7798 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.731e-05/1.253, allocations: 7.969 kB / 0.7798 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.017e-05/1.254, allocations: 12.52 kB / 0.7799 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02773/1.281, allocations: 12.89 MB / 0.7924 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.281, allocations: 4.188 kB / 0.7924 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.284, allocations: 0.504 MB / 0.7929 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004087/1.288, allocations: 1.477 MB / 0.7944 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000558/1.289, allocations: 52.27 kB / 0.7944 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/1.3, allocations: 11.49 MB / 0.8056 GB, free: 175 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.3, allocations: 2.062 kB / 0.8057 GB, free: 175 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/1.315, allocations: 9.44 MB / 0.8149 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003289/1.319, allocations: 1.05 MB / 0.8159 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002135/1.321, allocations: 44 kB / 0.8159 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/1.325, allocations: 170.6 kB / 0.8161 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000794/1.325, allocations: 153.9 kB / 0.8162 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004762/1.326, allocations: 72.53 kB / 0.8163 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008845/1.335, allocations: 4.447 MB / 0.8207 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.82e-07/1.335, allocations: 0 / 0.8207 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01028/1.345, allocations: 1.627 MB / 0.8222 GB, free: 160.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (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.001052/1.346, allocations: 188.5 kB / 0.8224 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.359, allocations: 8.112 MB / 0.8303 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.359, allocations: 0 / 0.8303 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004073/1.363, allocations: 2.726 MB / 0.833 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007483/1.371, allocations: 0.7918 MB / 0.8338 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/1.403, allocations: 15.71 MB / 0.8491 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009/1.412, allocations: 4.853 MB / 0.8539 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/1.414, allocations: 459.4 kB / 0.8543 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.414, allocations: 0 / 0.8543 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.4775/1.892, allocations: 182.4 MB / 1.032 GB, free: 161.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches