Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") [: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.0008854/0.0008854, allocations: 190.3 kB / 7.802 MB, free: 2.48 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.018/1.018, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008221/0.0008221, allocations: 89.78 kB / 261.4 MB, free: 13.63 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.1511/0.1511, allocations: 43.48 MB / 352.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.722e-06, allocations: 0 / 417.7 MB, free: 40.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2205, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.3381, allocations: 106.8 MB / 0.5697 GB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3384, allocations: 79.95 kB / 0.5698 GB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4248/0.7632, allocations: 125.1 MB / 0.6919 GB, free: 102.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003726/0.7636, allocations: 136.3 kB / 0.692 GB, free: 102.9 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01628/0.7799, allocations: 6.516 MB / 0.6984 GB, free: 99.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.7799, allocations: 10.41 kB / 0.6984 GB, free: 99.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0259/0.8058, allocations: 6.742 MB / 0.705 GB, free: 96.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/0.8234, allocations: 7.465 MB / 0.7123 GB, free: 92.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/0.8238, allocations: 211.8 kB / 0.7125 GB, free: 92.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.8262, allocations: 391.6 kB / 0.7129 GB, free: 92.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01394/0.8402, allocations: 9.45 MB / 0.7221 GB, free: 83.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/0.862, allocations: 14.38 MB / 0.7361 GB, free: 68.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000322/0.8624, allocations: 87.22 kB / 0.7362 GB, free: 68.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001865/0.8643, allocations: 43.98 kB / 0.7363 GB, free: 68.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.8661, allocations: 1.646 MB / 0.7379 GB, free: 66.37 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06263/0.9287, allocations: 70.49 MB / 0.8067 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006661/0.9354, allocations: 5.684 MB / 0.8123 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004446/0.9399, allocations: 3.969 MB / 0.8161 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/0.9569, allocations: 10.58 MB / 0.8265 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.9569, allocations: 60.34 kB / 0.8265 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=258): time 5.22e-06/0.957, allocations: 0 / 0.8265 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=300): time 0.1709/1.128, allocations: 26.32 MB / 0.8522 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.128, allocations: 241.7 kB / 0.8525 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005267/1.133, allocations: 4.799 MB / 0.8571 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/1.134, allocations: 28.14 kB / 0.8572 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.135, allocations: 4.372 MB / 0.8614 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007638/1.136, allocations: 1.107 MB / 0.8625 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/1.136, allocations: 0 / 0.8625 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003304/1.137, allocations: 0.6945 MB / 0.8632 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/1.14, allocations: 3.464 MB / 0.8666 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/1.146, allocations: 8.74 MB / 0.8751 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006783/1.153, allocations: 5.471 MB / 0.8805 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/1.153, allocations: 55.88 kB / 0.8805 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.02051/1.173, allocations: 12.33 MB / 0.8926 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.173, allocations: 4.969 kB / 0.8926 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002867/1.174, allocations: 188.5 kB / 0.8927 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003759/1.177, allocations: 1.601 MB / 0.8943 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007138/1.184, allocations: 2.128 MB / 0.8964 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.196, allocations: 10.14 MB / 0.9063 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007135/1.203, allocations: 309.5 kB / 0.9066 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/1.205, allocations: 0.5366 MB / 0.9071 GB, free: 146.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 857 * Number of states: 0 () * Number of discrete variables: 63 (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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.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 (1117): * Single equations (assignments): 1112 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002385/1.207, allocations: 0.5765 MB / 0.9077 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.209, allocations: 0.4999 MB / 0.9082 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.219, allocations: 6.37 MB / 0.9144 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.953e-05/1.219, allocations: 28 kB / 0.9144 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/1.219, allocations: 11.28 kB / 0.9144 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/1.219, allocations: 20.52 kB / 0.9144 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.239, allocations: 13.24 MB / 0.9274 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.239, allocations: 4 kB / 0.9274 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002539/1.241, allocations: 0.4917 MB / 0.9278 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/1.244, allocations: 1.299 MB / 0.9291 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/1.245, allocations: 9.953 kB / 0.9291 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009859/1.255, allocations: 9.498 MB / 0.9384 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.255, allocations: 0 / 0.9384 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01204/1.267, allocations: 10.73 MB / 0.9489 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.269, allocations: 1.017 MB / 0.9499 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007211/1.27, allocations: 8 kB / 0.9499 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.272, allocations: 110 kB / 0.95 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003616/1.272, allocations: 133.2 kB / 0.9501 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/1.272, allocations: 75 kB / 0.9502 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004039/1.277, allocations: 3.246 MB / 0.9534 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006563/1.283, allocations: 1.382 MB / 0.9547 GB, free: 104.9 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 (245): * Single equations (assignments): 240 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005149/1.284, allocations: 155.3 kB / 0.9549 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.294, allocations: 8.471 MB / 0.9631 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.294, allocations: 0 / 0.9631 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003971/1.298, allocations: 3.203 MB / 0.9663 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.301, allocations: 0.5176 MB / 0.9668 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/1.32, allocations: 12.86 MB / 0.9793 GB, free: 82.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005806/1.326, allocations: 5.335 MB / 0.9845 GB, free: 78.2 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/1.326, allocations: 0 / 0.9845 GB, free: 78.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.2307/1.557, allocations: 62.08 MB / 1.045 GB, free: 145.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches