Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.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_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_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 99.42 kB / 16.93 MB, free: 5.812 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.001156/0.001156, allocations: 187.3 kB / 17.86 MB, free: 5.176 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.469/1.469, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2251/0.2251, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 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.001925/0.001925, allocations: 74.83 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1407, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.02057/0.1614, allocations: 17.65 MB / 458.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.1763, allocations: 5.37 MB / 464.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006618/0.183, allocations: 115.7 kB / 464.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.1938, allocations: 5.089 MB / 469.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009978/0.2039, allocations: 2.844 MB / 472.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.2079, allocations: 1.248 MB / 473.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01444/0.2223, allocations: 7.919 MB / 481.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.2339, allocations: 6.265 MB / 487.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007824/0.2418, allocations: 2.753 MB / 490.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008485/0.2503, allocations: 3.859 MB / 494.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002852/0.2532, allocations: 0.6055 MB / 494.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/0.2586, allocations: 1.615 MB / 496.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006431/0.2651, allocations: 3.511 MB / 0.4883 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01026/0.2754, allocations: 3.939 MB / 0.4922 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01944/0.2949, allocations: 11.97 MB / 0.5039 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.295, allocations: 0 / 0.5039 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.295, allocations: 0 / 0.5039 GB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005877/0.2956, allocations: 0 / 0.5039 GB, free: 11.84 MB / 398.1 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.02756/0.3232, allocations: 8.314 MB / 0.512 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.3233, allocations: 8.031 kB / 0.512 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.3406, allocations: 3.212 MB / 0.5151 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.3541, allocations: 5.24 MB / 0.5202 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004579/0.3546, allocations: 402.7 kB / 0.5206 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/0.3572, allocations: 0.5388 MB / 0.5211 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4524/0.8097, allocations: 16.38 MB / 0.5371 GB, free: 77.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003605/0.8101, allocations: 76 kB / 0.5372 GB, free: 77.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/0.8112, allocations: 254.1 kB / 0.5375 GB, free: 77.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006279/0.8175, allocations: 3.075 MB / 0.5405 GB, free: 77.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03046/0.8479, allocations: 13.65 MB / 0.5538 GB, free: 71.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/0.9227, allocations: 62.41 MB / 0.6147 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.9368, allocations: 6.114 MB / 0.6207 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004487/0.9413, allocations: 3.41 MB / 0.624 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.9417, allocations: 51.12 kB / 0.6241 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.9417, allocations: 68.06 kB / 0.6242 GB, free: 1.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 1.016e-05/0.9418, allocations: 0 / 0.6242 GB, free: 1.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.07816/1.02, allocations: 26.31 MB / 0.6498 GB, free: 7.156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.02, allocations: 261.1 kB / 0.6501 GB, free: 6.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/1.033, allocations: 7.037 MB / 0.657 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007587/1.033, allocations: 69.7 kB / 0.657 GB, free: 15.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004842/1.038, allocations: 4.962 MB / 0.6619 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00197/1.04, allocations: 1.038 MB / 0.6629 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004024/1.044, allocations: 1.84 MB / 0.6647 GB, free: 7.824 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/1.044, allocations: 309.1 kB / 0.665 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006034/1.05, allocations: 3.406 MB / 0.6683 GB, free: 4.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/1.061, allocations: 8.713 MB / 0.6768 GB, free: 8.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/1.079, allocations: 12.99 MB / 0.6895 GB, free: 9.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002573/1.08, allocations: 52 kB / 0.6896 GB, free: 9.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03077/1.11, allocations: 13.4 MB / 0.7026 GB, free: 11.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002715/1.111, allocations: 84 kB / 0.7027 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003716/1.111, allocations: 188.9 kB / 0.7029 GB, free: 11.43 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/1.116, allocations: 1.799 MB / 0.7047 GB, free: 9.621 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007777/1.124, allocations: 2.086 MB / 0.7067 GB, free: 7.531 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/1.141, allocations: 12.64 MB / 0.719 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008562/1.149, allocations: 0.507 MB / 0.7195 GB, free: 9.984 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002194/1.151, allocations: 0.5235 MB / 0.72 GB, free: 9.461 MB / 0.5138 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 (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,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008557/1.16, allocations: 3.335 MB / 0.7233 GB, free: 6.109 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/1.162, allocations: 0.5823 MB / 0.7239 GB, free: 5.52 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2676/1.43, allocations: 5.984 MB / 0.7297 GB, free: 168.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/1.43, allocations: 29.69 kB / 0.7297 GB, free: 168.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.866e-05/1.43, allocations: 8.344 kB / 0.7297 GB, free: 168.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001312/1.43, allocations: 15.55 kB / 0.7298 GB, free: 168.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03478/1.465, allocations: 13.36 MB / 0.7428 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/1.465, allocations: 1.125 kB / 0.7428 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.467, allocations: 460.3 kB / 0.7433 GB, free: 165.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00451/1.472, allocations: 1.5 MB / 0.7447 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004082/1.472, allocations: 48.84 kB / 0.7448 GB, free: 165.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.484, allocations: 11.7 MB / 0.7562 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.484, allocations: 0 / 0.7562 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/1.498, allocations: 9.729 MB / 0.7657 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003093/1.501, allocations: 1.071 MB / 0.7667 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001841/1.503, allocations: 43.75 kB / 0.7668 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/1.507, allocations: 184.5 kB / 0.767 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006007/1.507, allocations: 163.8 kB / 0.7671 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/1.507, allocations: 71.5 kB / 0.7672 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009071/1.517, allocations: 4.475 MB / 0.7716 GB, free: 153 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.71e-07/1.517, allocations: 0 / 0.7716 GB, free: 153 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01014/1.527, allocations: 1.674 MB / 0.7732 GB, free: 152.8 MB / 0.5138 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 (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,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009913/1.528, allocations: 178.9 kB / 0.7734 GB, free: 152.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01634/1.544, allocations: 9.878 MB / 0.783 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.544, allocations: 0 / 0.783 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00535/1.55, allocations: 2.855 MB / 0.7858 GB, free: 141.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008167/1.558, allocations: 0.8028 MB / 0.7866 GB, free: 140.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/1.586, allocations: 16.38 MB / 0.8026 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007977/1.594, allocations: 5.028 MB / 0.8075 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/1.596, allocations: 467.3 kB / 0.8079 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.242e-06/1.596, allocations: 0 / 0.8079 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.4711/2.067, allocations: 187.8 MB / 0.9914 GB, free: 116 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches