Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques") [: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.0008896/0.0008896, allocations: 187.2 kB / 7.801 MB, free: 2.492 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.005/1.005, 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.0008042/0.0008042, allocations: 93.39 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.1488/0.1488, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.341e-06/5.36e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 58.84 MB / 476.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.3232, allocations: 109.4 MB / 0.5722 GB, free: 5.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.3234, allocations: 75.95 kB / 0.5723 GB, free: 5.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4542/0.7776, allocations: 144.3 MB / 0.7132 GB, free: 92.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002769/0.7779, allocations: 154.5 kB / 0.7133 GB, free: 92.53 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01475/0.7927, allocations: 7.349 MB / 0.7205 GB, free: 86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.7927, allocations: 8.031 kB / 0.7205 GB, free: 85.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02467/0.8174, allocations: 6.942 MB / 0.7273 GB, free: 79.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/0.8339, allocations: 7.983 MB / 0.7351 GB, free: 71.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.8343, allocations: 252 kB / 0.7353 GB, free: 70.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/0.8367, allocations: 459.8 kB / 0.7358 GB, free: 70.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01433/0.851, allocations: 11.31 MB / 0.7468 GB, free: 59.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.8684, allocations: 16.76 MB / 0.7632 GB, free: 40.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/0.8686, allocations: 95.09 kB / 0.7633 GB, free: 40.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007389/0.8694, allocations: 44 kB / 0.7633 GB, free: 40.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001746/0.8711, allocations: 1.949 MB / 0.7652 GB, free: 38.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2035/1.075, allocations: 79.11 MB / 0.8425 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/1.081, allocations: 7.093 MB / 0.8494 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004196/1.086, allocations: 4.69 MB / 0.854 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/1.103, allocations: 13.21 MB / 0.8669 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.103, allocations: 70.5 kB / 0.8669 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=310): time 5.401e-06/1.103, allocations: 0 / 0.8669 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.05364/1.157, allocations: 29.43 MB / 0.8957 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/1.157, allocations: 251.6 kB / 0.8959 GB, free: 106 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007656/1.164, allocations: 5.207 MB / 0.901 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007312/1.165, allocations: 25.7 kB / 0.901 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/1.168, allocations: 5.029 MB / 0.9059 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.169, allocations: 1.291 MB / 0.9072 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/1.17, allocations: 0 / 0.9072 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004384/1.17, allocations: 0.7373 MB / 0.9079 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004564/1.175, allocations: 3.996 MB / 0.9118 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006968/1.182, allocations: 9.77 MB / 0.9214 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008084/1.19, allocations: 6.218 MB / 0.9274 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.19, allocations: 60 kB / 0.9275 GB, free: 85.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1336) (initialization): time 0.02203/1.212, allocations: 13.86 MB / 0.941 GB, free: 74.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.212, allocations: 4 kB / 0.941 GB, free: 74.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003715/1.212, allocations: 204 kB / 0.9412 GB, free: 74.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/1.216, allocations: 1.65 MB / 0.9428 GB, free: 73.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008534/1.225, allocations: 2.431 MB / 0.9452 GB, free: 71.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/1.236, allocations: 10.42 MB / 0.9554 GB, free: 61.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008728/1.245, allocations: 327.8 kB / 0.9557 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/1.247, allocations: 0.6068 MB / 0.9563 GB, free: 60.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1264): * Single equations (assignments): 1259 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002908/1.25, allocations: 0.6247 MB / 0.9569 GB, free: 60.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.251, allocations: 0.5476 MB / 0.9574 GB, free: 59.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.263, allocations: 7.304 MB / 0.9646 GB, free: 53.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/1.263, allocations: 35.52 kB / 0.9646 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.263, allocations: 8 kB / 0.9646 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/1.263, allocations: 18.62 kB / 0.9646 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/1.293, allocations: 15.31 MB / 0.9796 GB, free: 41.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.293, allocations: 0 / 0.9796 GB, free: 41.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/1.296, allocations: 0.6184 MB / 0.9802 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/1.3, allocations: 1.323 MB / 0.9815 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005227/1.3, allocations: 18.28 kB / 0.9815 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.311, allocations: 9.65 MB / 0.9909 GB, free: 30.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.311, allocations: 0.6562 kB / 0.9909 GB, free: 30.97 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01562/1.327, allocations: 12.28 MB / 1.003 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002948/1.33, allocations: 1.148 MB / 1.004 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/1.332, allocations: 0 / 1.004 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.335, allocations: 118.1 kB / 1.004 GB, free: 18.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/1.335, allocations: 160.3 kB / 1.004 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003067/1.336, allocations: 91.8 kB / 1.004 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006494/1.342, allocations: 3.51 MB / 1.008 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008162/1.35, allocations: 1.586 MB / 1.009 GB, free: 14.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 291 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0005516/1.351, allocations: 161.3 kB / 1.01 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.363, allocations: 9.704 MB / 1.019 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.363, allocations: 4 kB / 1.019 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004775/1.368, allocations: 3.669 MB / 1.023 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/1.372, allocations: 0.5476 MB / 1.023 GB, free: 196 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1715/1.543, allocations: 14.81 MB / 1.038 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007247/1.55, allocations: 6.085 MB / 1.044 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/1.551, allocations: 0 / 1.044 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.109/1.659, allocations: 70.41 MB / 1.112 GB, free: 122.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches