Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001239, allocations: 180.3 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 86.36 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.403/0.403, allocations: 43.56 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3221/0.4318, allocations: 92.26 MB / 0.5688 GB, free: 0.832 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06364/0.4955, allocations: 18.51 MB / 0.5869 GB, free: 4.184 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0319/0.5275, allocations: 430.8 kB / 0.5873 GB, free: 4.121 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02633/0.5539, allocations: 4.863 MB / 0.5921 GB, free: 2.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04899/0.603, allocations: 14.1 MB / 0.6059 GB, free: 4.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006716/0.6097, allocations: 1.019 MB / 0.6068 GB, free: 3.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.06339/0.6731, allocations: 51.4 MB / 0.657 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.6865, allocations: 7.503 MB / 0.6644 GB, free: 8.145 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005068/0.6916, allocations: 2.191 MB / 0.6665 GB, free: 5.945 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005335/0.697, allocations: 3.552 MB / 0.67 GB, free: 2.383 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001706/0.6987, allocations: 252 kB / 0.6702 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.7027, allocations: 1.131 MB / 0.6713 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2638/0.9665, allocations: 3.068 MB / 0.6743 GB, free: 54.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003503/0.97, allocations: 1.423 MB / 0.6757 GB, free: 54.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.9852, allocations: 9.529 MB / 0.685 GB, free: 53.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.9853, allocations: 0.9844 kB / 0.685 GB, free: 53.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.9853, allocations: 1.406 kB / 0.685 GB, free: 53.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006066/0.9859, allocations: 0 / 0.685 GB, free: 53.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.01963/1.006, allocations: 6.908 MB / 0.6918 GB, free: 50.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.006, allocations: 11.5 kB / 0.6918 GB, free: 50.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/1.023, allocations: 3.28 MB / 0.695 GB, free: 50.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/1.038, allocations: 5.129 MB / 0.7 GB, free: 49.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007316/1.039, allocations: 408.4 kB / 0.7004 GB, free: 49.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004175/1.043, allocations: 0.5255 MB / 0.7009 GB, free: 49.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06423/1.108, allocations: 16.38 MB / 0.7169 GB, free: 46.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006485/1.108, allocations: 74.66 kB / 0.717 GB, free: 46.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003609/1.112, allocations: 264.1 kB / 0.7172 GB, free: 46.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00629/1.118, allocations: 3.075 MB / 0.7202 GB, free: 45.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03049/1.149, allocations: 13.61 MB / 0.7335 GB, free: 42.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09271/1.242, allocations: 62.43 MB / 0.7945 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.257, allocations: 6.111 MB / 0.8004 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005237/1.262, allocations: 3.409 MB / 0.8038 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/1.263, allocations: 56.52 kB / 0.8038 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/1.263, allocations: 60.48 kB / 0.8039 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 7.745e-06/1.263, allocations: 0 / 0.8039 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.07581/1.339, allocations: 26.28 MB / 0.8295 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/1.339, allocations: 264 kB / 0.8298 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.351, allocations: 6.999 MB / 0.8366 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007857/1.352, allocations: 65.7 kB / 0.8367 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004011/1.356, allocations: 4.968 MB / 0.8415 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/1.357, allocations: 1.032 MB / 0.8426 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004514/1.358, allocations: 180 kB / 0.8427 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004838/1.358, allocations: 0.6878 MB / 0.8434 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005444/1.364, allocations: 3.387 MB / 0.8467 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008944/1.373, allocations: 8.678 MB / 0.8552 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008854/1.382, allocations: 5.276 MB / 0.8603 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/1.382, allocations: 56 kB / 0.8604 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.0276/1.409, allocations: 13.35 MB / 0.8734 GB, free: 10.24 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/1.409, allocations: 84 kB / 0.8735 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/1.41, allocations: 188 kB / 0.8737 GB, free: 9.977 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/1.415, allocations: 1.82 MB / 0.8755 GB, free: 8.148 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007813/1.422, allocations: 2.091 MB / 0.8775 GB, free: 6.234 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3045/1.727, allocations: 11.75 MB / 0.889 GB, free: 215.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008686/1.736, allocations: 0.5146 MB / 0.8895 GB, free: 215.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002262/1.738, allocations: 0.5279 MB / 0.89 GB, free: 215.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009565/1.748, allocations: 3.323 MB / 0.8932 GB, free: 215.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/1.749, allocations: 0.5871 MB / 0.8938 GB, free: 215.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.761, allocations: 5.992 MB / 0.8997 GB, free: 213.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/1.761, allocations: 29.19 kB / 0.8997 GB, free: 213.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/1.761, allocations: 10.12 kB / 0.8997 GB, free: 213.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-05/1.761, allocations: 12.75 kB / 0.8997 GB, free: 213.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03268/1.793, allocations: 13.37 MB / 0.9128 GB, free: 209 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.793, allocations: 1.156 kB / 0.9128 GB, free: 209 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003547/1.797, allocations: 461 kB / 0.9132 GB, free: 209 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006106/1.803, allocations: 1.498 MB / 0.9147 GB, free: 208.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006441/1.804, allocations: 52.27 kB / 0.9147 GB, free: 208.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/1.823, allocations: 10.83 MB / 0.9253 GB, free: 202.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.823, allocations: 5.469 kB / 0.9253 GB, free: 202.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/1.849, allocations: 9.722 MB / 0.9348 GB, free: 198.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005169/1.854, allocations: 1.08 MB / 0.9358 GB, free: 198.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002881/1.857, allocations: 43.62 kB / 0.9359 GB, free: 198.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005891/1.863, allocations: 199 kB / 0.9361 GB, free: 198.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009276/1.864, allocations: 158.9 kB / 0.9362 GB, free: 198.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003323/1.864, allocations: 70 kB / 0.9363 GB, free: 198.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01159/1.876, allocations: 4.437 MB / 0.9406 GB, free: 196.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.052e-06/1.876, allocations: 3.125 kB / 0.9406 GB, free: 196.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01277/1.889, allocations: 1.67 MB / 0.9423 GB, free: 196.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/1.89, allocations: 191.8 kB / 0.9424 GB, free: 196.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.905, allocations: 8.318 MB / 0.9506 GB, free: 192.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.905, allocations: 1.031 kB / 0.9506 GB, free: 192.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004476/1.909, allocations: 2.833 MB / 0.9533 GB, free: 189.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007737/1.917, allocations: 0.7621 MB / 0.9541 GB, free: 188.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/1.951, allocations: 18.9 MB / 0.9725 GB, free: 169.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004973/1.956, allocations: 5.019 MB / 0.9774 GB, free: 164.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/1.958, allocations: 467.4 kB / 0.9779 GB, free: 164.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.72e-07/1.958, allocations: 0 / 0.9779 GB, free: 164.4 MB / 0.573 GB Notification: Performance of Templates: time 0.5343/2.493, allocations: 186.9 MB / 1.16 GB, free: 200.7 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches