Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 190.2 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.000733/0.000733, allocations: 77.2 kB / 261.4 MB, free: 13.53 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.1484/0.1484, allocations: 43.5 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.051e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.323, allocations: 109.3 MB / 0.5721 GB, free: 5.625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000161/0.3232, allocations: 79.97 kB / 0.5722 GB, free: 5.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5945/0.9177, allocations: 217.3 MB / 0.7844 GB, free: 21.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000701/0.9184, allocations: 235.9 kB / 0.7846 GB, free: 21 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.02972/0.9482, allocations: 11.34 MB / 0.7957 GB, free: 9.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.9482, allocations: 12.03 kB / 0.7957 GB, free: 9.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04445/0.9927, allocations: 12.2 MB / 0.8076 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/1.023, allocations: 12.68 MB / 0.82 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/1.023, allocations: 392 kB / 0.8203 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1468/1.17, allocations: 0.7039 MB / 0.821 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02652/1.197, allocations: 17.27 MB / 0.8379 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04448/1.241, allocations: 24.99 MB / 0.8623 GB, free: 95.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005481/1.242, allocations: 140.5 kB / 0.8624 GB, free: 95.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002602/1.244, allocations: 58.38 kB / 0.8625 GB, free: 95.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003961/1.248, allocations: 2.866 MB / 0.8653 GB, free: 95.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1162/1.364, allocations: 112.8 MB / 0.9754 GB, free: 26.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/1.376, allocations: 11.43 MB / 0.9866 GB, free: 17.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008007/1.384, allocations: 8.155 MB / 0.9946 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1937/1.578, allocations: 23.14 MB / 1.017 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/1.578, allocations: 95.19 kB / 1.017 GB, free: 95.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 7.834e-06/1.578, allocations: 0 / 1.017 GB, free: 95.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=609): time 0.09109/1.669, allocations: 51.64 MB / 1.068 GB, free: 88.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.669, allocations: 327.6 kB / 1.068 GB, free: 87.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009902/1.679, allocations: 7.206 MB / 1.075 GB, free: 87.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00136/1.681, allocations: 25.7 kB / 1.075 GB, free: 87.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003296/1.684, allocations: 7.166 MB / 1.082 GB, free: 82.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002548/1.687, allocations: 2.166 MB / 1.084 GB, free: 81.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/1.687, allocations: 0 / 1.084 GB, free: 81.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006292/1.688, allocations: 0.9229 MB / 1.085 GB, free: 81.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007835/1.696, allocations: 6.354 MB / 1.091 GB, free: 80.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/1.708, allocations: 14.17 MB / 1.105 GB, free: 67.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.72, allocations: 9.429 MB / 1.114 GB, free: 64.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/1.72, allocations: 81.56 kB / 1.114 GB, free: 64.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=1907) (initialization): time 0.03733/1.757, allocations: 21.62 MB / 1.136 GB, free: 52.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.757, allocations: 8 kB / 1.136 GB, free: 52.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005297/1.758, allocations: 272 kB / 1.136 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007077/1.765, allocations: 3.114 MB / 1.139 GB, free: 49.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/1.778, allocations: 3.473 MB / 1.142 GB, free: 46.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/1.801, allocations: 20.68 MB / 1.162 GB, free: 27.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0158/1.817, allocations: 485.3 kB / 1.163 GB, free: 27.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004208/1.821, allocations: 0.8427 MB / 1.164 GB, free: 26.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1258 * Number of states: 0 () * Number of discrete variables: 108 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1787): * Single equations (assignments): 1780 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006022/1.827, allocations: 0.8181 MB / 1.164 GB, free: 25.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00287/1.83, allocations: 0.8215 MB / 1.165 GB, free: 25.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1927/2.023, allocations: 14.36 MB / 1.179 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.03e-05/2.023, allocations: 55.47 kB / 1.179 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.853e-05/2.023, allocations: 19.47 kB / 1.179 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.86e-05/2.023, allocations: 32.84 kB / 1.179 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04472/2.068, allocations: 27.19 MB / 1.206 GB, free: 78.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/2.068, allocations: 2 kB / 1.206 GB, free: 78.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005586/2.073, allocations: 1.088 MB / 1.207 GB, free: 78.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0064/2.08, allocations: 2.637 MB / 1.21 GB, free: 78.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007501/2.081, allocations: 18.34 kB / 1.21 GB, free: 78.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/2.102, allocations: 19.24 MB / 1.228 GB, free: 73.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.102, allocations: 0 / 1.228 GB, free: 73.07 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0273/2.129, allocations: 21.51 MB / 1.249 GB, free: 69.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00515/2.135, allocations: 1.813 MB / 1.251 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002416/2.137, allocations: 11.05 kB / 1.251 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004902/2.142, allocations: 265.2 kB / 1.251 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007156/2.143, allocations: 283.2 kB / 1.252 GB, free: 69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000472/2.143, allocations: 156.5 kB / 1.252 GB, free: 68.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00688/2.15, allocations: 4.88 MB / 1.257 GB, free: 67.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01144/2.161, allocations: 2.49 MB / 1.259 GB, free: 67.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (522): * Single equations (assignments): 515 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007792/2.162, allocations: 190.8 kB / 1.259 GB, free: 67.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02069/2.183, allocations: 15.85 MB / 1.275 GB, free: 62.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.183, allocations: 1.406 kB / 1.275 GB, free: 62.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009317/2.192, allocations: 6.677 MB / 1.281 GB, free: 59.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/2.197, allocations: 0.8309 MB / 1.282 GB, free: 59.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04008/2.237, allocations: 23.73 MB / 1.305 GB, free: 39.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01178/2.249, allocations: 8.972 MB / 1.314 GB, free: 33.36 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/2.249, allocations: 0 / 1.314 GB, free: 33.36 MB / 490.7 MB Notification: Performance of Templates: time 0.3328/2.581, allocations: 115.3 MB / 1.427 GB, free: 57 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches