Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") [: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.0009377/0.0009377, allocations: 183.3 kB / 7.8 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9716/0.9716, allocations: 205.2 MB / 213.4 MB, free: 13.94 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.0008146/0.0008146, allocations: 74.61 kB / 261.4 MB, free: 13.57 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.1458/0.1458, allocations: 43.49 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.472e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.3191, allocations: 108.3 MB / 0.5711 GB, free: 6.633 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.3193, allocations: 67.97 kB / 0.5712 GB, free: 6.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4363/0.7556, allocations: 134.5 MB / 0.7025 GB, free: 82.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002396/0.7559, allocations: 138.7 kB / 0.7027 GB, free: 82.34 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01244/0.7683, allocations: 6.755 MB / 0.7093 GB, free: 76.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.7684, allocations: 12.03 kB / 0.7093 GB, free: 76.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02334/0.7917, allocations: 6.8 MB / 0.7159 GB, free: 70.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01571/0.8075, allocations: 7.625 MB / 0.7234 GB, free: 64.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.8077, allocations: 232 kB / 0.7236 GB, free: 64.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.809, allocations: 418.6 kB / 0.724 GB, free: 64.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01164/0.8206, allocations: 10.11 MB / 0.7339 GB, free: 56.87 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.8363, allocations: 15.12 MB / 0.7486 GB, free: 40.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.8365, allocations: 87.28 kB / 0.7487 GB, free: 40.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007398/0.8373, allocations: 43.91 kB / 0.7487 GB, free: 40.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/0.8388, allocations: 1.737 MB / 0.7504 GB, free: 38.51 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06366/0.9025, allocations: 70.82 MB / 0.8196 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006942/0.9095, allocations: 5.906 MB / 0.8254 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005137/0.9147, allocations: 4.076 MB / 0.8293 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1426/1.057, allocations: 10.8 MB / 0.8399 GB, free: 181.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.057, allocations: 64.12 kB / 0.84 GB, free: 181.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=278): time 4.769e-06/1.057, allocations: 3.438 kB / 0.84 GB, free: 181.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=320): time 0.04445/1.102, allocations: 26.84 MB / 0.8662 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.102, allocations: 245.7 kB / 0.8664 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00501/1.107, allocations: 4.702 MB / 0.871 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/1.107, allocations: 29.41 kB / 0.871 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.109, allocations: 4.553 MB / 0.8755 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007885/1.109, allocations: 1.168 MB / 0.8766 GB, free: 173.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/1.11, allocations: 0 / 0.8766 GB, free: 173.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003632/1.11, allocations: 0.6951 MB / 0.8773 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/1.114, allocations: 3.657 MB / 0.8809 GB, free: 172 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006158/1.12, allocations: 8.904 MB / 0.8896 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/1.126, allocations: 5.662 MB / 0.8951 GB, free: 162 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-05/1.126, allocations: 53 kB / 0.8951 GB, free: 162 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.01811/1.144, allocations: 12.76 MB / 0.9076 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.144, allocations: 5.094 kB / 0.9076 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/1.144, allocations: 186.3 kB / 0.9078 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/1.148, allocations: 1.631 MB / 0.9094 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/1.155, allocations: 2.145 MB / 0.9115 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.165, allocations: 10.39 MB / 0.9216 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006516/1.172, allocations: 302.2 kB / 0.9219 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008224/1.173, allocations: 0.5449 MB / 0.9224 GB, free: 147.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1134): * Single equations (assignments): 1129 * 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.0009957/1.174, allocations: 0.5772 MB / 0.923 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006455/1.174, allocations: 0.5013 MB / 0.9235 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009465/1.184, allocations: 6.839 MB / 0.9302 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.795e-05/1.184, allocations: 32 kB / 0.9302 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.184, allocations: 11.28 kB / 0.9302 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.184, allocations: 25.52 kB / 0.9302 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.203, allocations: 14.12 MB / 0.944 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.203, allocations: 6.359 kB / 0.944 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/1.206, allocations: 0.5283 MB / 0.9445 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/1.209, allocations: 1.315 MB / 0.9458 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/1.209, allocations: 8 kB / 0.9458 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/1.22, allocations: 9.663 MB / 0.9553 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.22, allocations: 7.938 kB / 0.9553 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01316/1.233, allocations: 11.49 MB / 0.9665 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/1.235, allocations: 1.063 MB / 0.9675 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009265/1.236, allocations: 4 kB / 0.9675 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.238, allocations: 113.4 kB / 0.9677 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.239, allocations: 136.3 kB / 0.9678 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/1.239, allocations: 83.7 kB / 0.9679 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003719/1.243, allocations: 3.174 MB / 0.971 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006451/1.249, allocations: 1.459 MB / 0.9724 GB, free: 103.4 MB / 0.5105 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 (264): * Single equations (assignments): 259 * 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.0005484/1.25, allocations: 156.7 kB / 0.9725 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.26, allocations: 8.96 MB / 0.9813 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.26, allocations: 2.438 kB / 0.9813 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004216/1.265, allocations: 3.441 MB / 0.9846 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.267, allocations: 0.5121 MB / 0.9851 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.29, allocations: 13.53 MB / 0.9984 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006279/1.296, allocations: 5.585 MB / 1.004 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.296, allocations: 4 kB / 1.004 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.227/1.523, allocations: 65.16 MB / 1.067 GB, free: 153.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches