Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00239/0.00239, allocations: 177.3 kB / 8.15 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 82.64 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2693/0.2693, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.04e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2867, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.475, allocations: 106.8 MB / 0.5697 GB, free: 8.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.4753, allocations: 71.47 kB / 0.5698 GB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7181/1.193, allocations: 125.1 MB / 0.6919 GB, free: 100.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004711/1.194, allocations: 133.3 kB / 0.692 GB, free: 100.8 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.0286/1.223, allocations: 6.513 MB / 0.6984 GB, free: 97.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.223, allocations: 9.594 kB / 0.6984 GB, free: 97.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05222/1.275, allocations: 6.747 MB / 0.705 GB, free: 95.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02988/1.305, allocations: 7.47 MB / 0.7123 GB, free: 91.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005837/1.305, allocations: 214.9 kB / 0.7125 GB, free: 91.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003844/1.309, allocations: 384 kB / 0.7129 GB, free: 91.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02534/1.335, allocations: 9.444 MB / 0.7221 GB, free: 83.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03833/1.373, allocations: 14.38 MB / 0.7361 GB, free: 67.47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004553/1.374, allocations: 91.2 kB / 0.7362 GB, free: 67.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002922/1.377, allocations: 44 kB / 0.7363 GB, free: 67.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00339/1.38, allocations: 1.646 MB / 0.7379 GB, free: 65.69 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1098/1.49, allocations: 70.49 MB / 0.8067 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/1.503, allocations: 5.687 MB / 0.8123 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009124/1.512, allocations: 3.964 MB / 0.8161 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03048/1.543, allocations: 10.57 MB / 0.8265 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/1.543, allocations: 64.28 kB / 0.8265 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=258): time 7.113e-06/1.543, allocations: 0 / 0.8265 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=300): time 0.265/1.808, allocations: 26.31 MB / 0.8522 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/1.808, allocations: 241 kB / 0.8524 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/1.819, allocations: 4.806 MB / 0.8571 GB, free: 170 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008435/1.82, allocations: 25.7 kB / 0.8572 GB, free: 170 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003019/1.823, allocations: 4.251 MB / 0.8613 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/1.825, allocations: 1.105 MB / 0.8624 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/1.826, allocations: 2.812 kB / 0.8624 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006643/1.827, allocations: 0.6978 MB / 0.8631 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00894/1.836, allocations: 3.462 MB / 0.8665 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/1.848, allocations: 8.733 MB / 0.875 GB, free: 159 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.861, allocations: 5.472 MB / 0.8803 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002063/1.861, allocations: 54.53 kB / 0.8804 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.03616/1.897, allocations: 12.18 MB / 0.8923 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.897, allocations: 6.938 kB / 0.8923 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003186/1.898, allocations: 187.8 kB / 0.8925 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0077/1.905, allocations: 1.551 MB / 0.894 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/1.921, allocations: 2.122 MB / 0.896 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/1.943, allocations: 10.31 MB / 0.9061 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00947/1.952, allocations: 292.2 kB / 0.9064 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002229/1.955, allocations: 0.5397 MB / 0.9069 GB, free: 147.1 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002255/1.957, allocations: 0.5094 MB / 0.9074 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.958, allocations: 0.4998 MB / 0.9079 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02003/1.978, allocations: 6.368 MB / 0.9141 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/1.978, allocations: 28 kB / 0.9141 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/1.979, allocations: 11.28 kB / 0.9142 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-05/1.979, allocations: 18.95 kB / 0.9142 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03943/2.018, allocations: 13.24 MB / 0.9271 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.352e-05/2.018, allocations: 0 / 0.9271 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005941/2.024, allocations: 499.6 kB / 0.9276 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007066/2.031, allocations: 1.302 MB / 0.9289 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009203/2.032, allocations: 10.5 kB / 0.9289 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/2.054, allocations: 9.495 MB / 0.9381 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/2.054, allocations: 0 / 0.9381 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02787/2.082, allocations: 10.74 MB / 0.9486 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004252/2.086, allocations: 1.016 MB / 0.9496 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002387/2.089, allocations: 4.516 kB / 0.9496 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005927/2.095, allocations: 110.2 kB / 0.9497 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/2.096, allocations: 141.1 kB / 0.9499 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004845/2.096, allocations: 71 kB / 0.9499 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.009009/2.105, allocations: 3.247 MB / 0.9531 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01187/2.117, allocations: 1.382 MB / 0.9544 GB, free: 105.4 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.001286/2.119, allocations: 155.7 kB / 0.9546 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01942/2.138, allocations: 8.356 MB / 0.9628 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/2.138, allocations: 0 / 0.9628 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009259/2.147, allocations: 3.205 MB / 0.9659 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005542/2.153, allocations: 0.5113 MB / 0.9664 GB, free: 94.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0422/2.195, allocations: 13.59 MB / 0.9797 GB, free: 82.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01549/2.211, allocations: 5.359 MB / 0.9849 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.984e-06/2.211, allocations: 0 / 0.9849 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.4182/2.629, allocations: 142.5 MB / 1.124 GB, free: 118.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches