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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.278/1.278, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008126/0.0008125, allocations: 92.45 kB / 267.1 MB, free: 9.277 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.3378/0.3378, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.664e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4412, allocations: 105.9 MB / 0.5762 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4414, allocations: 80.72 kB / 0.5763 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6181/1.06, allocations: 143.7 MB / 0.7166 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/1.06, allocations: 0 / 0.7166 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003985/1.06, allocations: 136.6 kB / 0.7167 GB, free: 80.25 MB / 0.4948 GB 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.02197/1.082, allocations: 6.846 MB / 0.7234 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.082, allocations: 12.97 kB / 0.7234 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03688/1.119, allocations: 9.536 MB / 0.7327 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02287/1.142, allocations: 8.854 MB / 0.7414 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/1.142, allocations: 0.5248 MB / 0.7419 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/1.146, allocations: 0.7053 MB / 0.7426 GB, free: 76.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04373/1.189, allocations: 16.54 MB / 0.7588 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006632/1.19, allocations: 97.67 kB / 0.7588 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002959/1.193, allocations: 341.2 kB / 0.7592 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/1.195, allocations: 1.534 MB / 0.7607 GB, free: 71.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02603/1.221, allocations: 13.11 MB / 0.7735 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0824/1.304, allocations: 72.68 MB / 0.8445 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/1.317, allocations: 5.868 MB / 0.8502 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003558/1.32, allocations: 3.066 MB / 0.8532 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/1.321, allocations: 49.77 kB / 0.8532 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/1.321, allocations: 66.94 kB / 0.8533 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 7.845e-06/1.321, allocations: 3 kB / 0.8533 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.05324/1.374, allocations: 19.5 MB / 0.8723 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.374, allocations: 265.1 kB / 0.8726 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.386, allocations: 6.157 MB / 0.8786 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006344/1.386, allocations: 61.7 kB / 0.8787 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003947/1.39, allocations: 5.065 MB / 0.8836 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.392, allocations: 1.032 MB / 0.8846 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004776/1.392, allocations: 168 kB / 0.8848 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004906/1.393, allocations: 0.6744 MB / 0.8854 GB, free: 188 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01698/1.41, allocations: 3.861 MB / 0.8892 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3185/1.728, allocations: 8.148 MB / 0.8972 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006888/1.735, allocations: 4.809 MB / 0.9019 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/1.735, allocations: 53.03 kB / 0.9019 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.01878/1.754, allocations: 11.41 MB / 0.9131 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.754, allocations: 84.72 kB / 0.9131 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/1.755, allocations: 187.2 kB / 0.9133 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/1.756, allocations: 0.8383 MB / 0.9141 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006097/1.762, allocations: 1.995 MB / 0.9161 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/1.77, allocations: 8.493 MB / 0.9244 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007618/1.778, allocations: 471.4 kB / 0.9248 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.78, allocations: 0.5153 MB / 0.9253 GB, free: 79.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1059): * Single equations (assignments): 1053 * 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.002757/1.782, allocations: 0.786 MB / 0.9261 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.784, allocations: 0.5975 MB / 0.9267 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008491/1.793, allocations: 4.454 MB / 0.931 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/1.793, allocations: 35 kB / 0.9311 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/1.793, allocations: 7.938 kB / 0.9311 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/1.793, allocations: 10.08 kB / 0.9311 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02344/1.816, allocations: 11.61 MB / 0.9424 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.816, allocations: 1.891 kB / 0.9424 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/1.818, allocations: 440.1 kB / 0.9428 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/1.82, allocations: 0.5277 MB / 0.9433 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/1.82, allocations: 43.06 kB / 0.9434 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/1.827, allocations: 7.581 MB / 0.9508 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/1.827, allocations: 8.078 kB / 0.9508 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/1.836, allocations: 7.887 MB / 0.9585 GB, free: 70.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/1.839, allocations: 1.007 MB / 0.9595 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008605/1.84, allocations: 42.78 kB / 0.9595 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.842, allocations: 150.5 kB / 0.9597 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/1.842, allocations: 163.3 kB / 0.9598 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.842, allocations: 66.56 kB / 0.9599 GB, free: 69.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006973/1.849, allocations: 4.37 MB / 0.9642 GB, free: 68.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/1.849, allocations: 2.562 kB / 0.9642 GB, free: 68.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008727/1.858, allocations: 1.563 MB / 0.9657 GB, free: 68 MB / 0.5105 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 () * 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.0005155/1.859, allocations: 192.5 kB / 0.9659 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.87, allocations: 7.352 MB / 0.9731 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.87, allocations: 0 / 0.9731 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003226/1.873, allocations: 2.492 MB / 0.9755 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/1.878, allocations: 0.7593 MB / 0.9762 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/1.905, allocations: 12.4 MB / 0.9883 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007226/1.912, allocations: 5.218 MB / 0.9934 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007506/1.92, allocations: 2.809 MB / 0.9962 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/1.921, allocations: 395.9 kB / 0.9966 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of SimCode: time 8.41e-07/1.921, allocations: 0 / 0.9966 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.09443/2.016, allocations: 55.83 MB / 1.051 GB, free: 23.54 MB / 0.5105 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/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_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches