Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") [: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 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 181.6 kB / 8.516 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.4 MB / 230.3 MB, free: 7.676 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008289/0.000829, allocations: 88.72 kB / 281.2 MB, free: 5.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1631/0.1631, allocations: 44.15 MB / 376.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.314e-06, allocations: 0 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09684, allocations: 61.91 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.3886, allocations: 103 MB / 0.5947 GB, free: 9.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.3888, allocations: 71.97 kB / 0.5948 GB, free: 9.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2132/0.602, allocations: 83.36 MB / 0.6762 GB, free: 5.594 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.6022, allocations: 68 kB / 0.6762 GB, free: 5.527 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01069/0.6129, allocations: 3.545 MB / 0.6797 GB, free: 1.922 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6129, allocations: 13.22 kB / 0.6797 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.6272, allocations: 2.783 MB / 0.6824 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6387, allocations: 4.042 MB / 0.6864 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.639, allocations: 120 kB / 0.6865 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/0.6413, allocations: 216 kB / 0.6867 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01416/0.6555, allocations: 7.329 MB / 0.6938 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1891/0.8446, allocations: 9.482 MB / 0.7031 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.8447, allocations: 24.44 kB / 0.7031 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005155/0.8453, allocations: 14.69 kB / 0.7031 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/0.8465, allocations: 1.245 MB / 0.7044 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04166/0.8881, allocations: 32.72 MB / 0.7363 GB, free: 166.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.8927, allocations: 4.294 MB / 0.7405 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.8955, allocations: 2.383 MB / 0.7428 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/0.9086, allocations: 10.1 MB / 0.7527 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.9087, allocations: 46.44 kB / 0.7527 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=186): time 4.308e-06/0.9087, allocations: 3.781 kB / 0.7527 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=201): time 0.02073/0.9294, allocations: 11.81 MB / 0.7643 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.9295, allocations: 71.55 kB / 0.7643 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/0.9336, allocations: 2.456 MB / 0.7667 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.9338, allocations: 25.7 kB / 0.7668 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.9351, allocations: 2.729 MB / 0.7694 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005627/0.9356, allocations: 0.7316 MB / 0.7701 GB, free: 150 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.9359, allocations: 0 / 0.7701 GB, free: 150 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00033/0.9362, allocations: 0.5961 MB / 0.7707 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/0.9392, allocations: 2.182 MB / 0.7729 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004189/0.9434, allocations: 5.257 MB / 0.778 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.9472, allocations: 3.436 MB / 0.7813 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.13e-05/0.9472, allocations: 35.91 kB / 0.7814 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01109/0.9583, allocations: 7.432 MB / 0.7886 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9584, allocations: 4 kB / 0.7886 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-05/0.9585, allocations: 108 kB / 0.7887 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/0.9606, allocations: 0.7583 MB / 0.7895 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/0.9646, allocations: 1.231 MB / 0.7907 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004323/0.9689, allocations: 3.928 MB / 0.7945 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/0.9728, allocations: 162.6 kB / 0.7947 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005422/0.9733, allocations: 326.3 kB / 0.795 GB, free: 129 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 664 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006061/0.9739, allocations: 388.3 kB / 0.7954 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.9743, allocations: 256.6 kB / 0.7956 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006056/0.9803, allocations: 4.163 MB / 0.7997 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/0.9804, allocations: 35.52 kB / 0.7997 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.9804, allocations: 4 kB / 0.7997 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.9804, allocations: 6.375 kB / 0.7997 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.9929, allocations: 8.039 MB / 0.8076 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.9929, allocations: 3.75 kB / 0.8076 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.9943, allocations: 271.5 kB / 0.8078 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.9962, allocations: 0.5836 MB / 0.8084 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.9964, allocations: 8 kB / 0.8084 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/1, allocations: 3.428 MB / 0.8118 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1, allocations: 0 / 0.8118 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008789/1.009, allocations: 6.371 MB / 0.818 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006837/1.01, allocations: 310.3 kB / 0.8183 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/1.01, allocations: 3.938 kB / 0.8183 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.011, allocations: 65.45 kB / 0.8183 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/1.011, allocations: 79.59 kB / 0.8184 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.012, allocations: 49.41 kB / 0.8185 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00216/1.014, allocations: 1.614 MB / 0.82 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003704/1.017, allocations: 0.8213 MB / 0.8208 GB, free: 106.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000357/1.018, allocations: 144.3 kB / 0.821 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005897/1.024, allocations: 5.124 MB / 0.826 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.024, allocations: 5.219 kB / 0.826 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.026, allocations: 1.818 MB / 0.8278 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/1.027, allocations: 200.1 kB / 0.828 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.039, allocations: 7.47 MB / 0.8352 GB, free: 91.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003509/1.043, allocations: 3.479 MB / 0.8386 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/1.043, allocations: 0 / 0.8386 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.05473/1.098, allocations: 33.25 MB / 0.8711 GB, free: 55.71 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches