Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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.WorldForces") [: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.001584/0.001584, allocations: 171.3 kB / 8.149 MB, free: 2.223 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.779/1.779, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.00122/0.00122, allocations: 97.89 kB / 261.8 MB, free: 13.62 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.2589/0.2589, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.248e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2847, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.4721, allocations: 108 MB / 0.5708 GB, free: 7.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.4724, allocations: 71.97 kB / 0.5709 GB, free: 7.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7984/1.271, allocations: 147.8 MB / 0.7152 GB, free: 89.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005869/1.272, allocations: 158 kB / 0.7153 GB, free: 89.91 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03258/1.304, allocations: 7.313 MB / 0.7225 GB, free: 83.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.304, allocations: 12.03 kB / 0.7225 GB, free: 83.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06581/1.37, allocations: 9.231 MB / 0.7315 GB, free: 74.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03301/1.403, allocations: 9.226 MB / 0.7405 GB, free: 64.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004534/1.404, allocations: 255.9 kB / 0.7407 GB, free: 64.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0041/1.408, allocations: 467.7 kB / 0.7412 GB, free: 64.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02945/1.437, allocations: 10.79 MB / 0.7517 GB, free: 53.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04519/1.482, allocations: 16.48 MB / 0.7678 GB, free: 35.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005779/1.483, allocations: 103.1 kB / 0.7679 GB, free: 35.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003894/1.487, allocations: 48 kB / 0.768 GB, free: 35.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003607/1.491, allocations: 1.827 MB / 0.7697 GB, free: 33.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3303/1.821, allocations: 79.4 MB / 0.8473 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/1.834, allocations: 6.308 MB / 0.8534 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00874/1.842, allocations: 4.422 MB / 0.8578 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03085/1.873, allocations: 11.96 MB / 0.8694 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/1.873, allocations: 74.42 kB / 0.8695 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=301): time 6.662e-06/1.873, allocations: 0 / 0.8695 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.1029/1.976, allocations: 30.25 MB / 0.8991 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.976, allocations: 295.2 kB / 0.8993 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/1.991, allocations: 5.21 MB / 0.9044 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009048/1.992, allocations: 27.3 kB / 0.9045 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003811/1.995, allocations: 4.787 MB / 0.9091 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002521/1.998, allocations: 1.232 MB / 0.9103 GB, free: 93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/2, allocations: 0 / 0.9103 GB, free: 93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00107/2.001, allocations: 0.7309 MB / 0.911 GB, free: 92.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01052/2.011, allocations: 3.598 MB / 0.9146 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01346/2.025, allocations: 9.393 MB / 0.9237 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/2.039, allocations: 5.779 MB / 0.9294 GB, free: 80.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002236/2.04, allocations: 57.84 kB / 0.9294 GB, free: 80.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.03785/2.077, allocations: 12.57 MB / 0.9417 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/2.078, allocations: 7.938 kB / 0.9417 GB, free: 71.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000379/2.078, allocations: 208 kB / 0.9419 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/2.084, allocations: 1.31 MB / 0.9432 GB, free: 70.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01616/2.1, allocations: 2.284 MB / 0.9454 GB, free: 68.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/2.119, allocations: 10.52 MB / 0.9557 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/2.13, allocations: 305.2 kB / 0.956 GB, free: 58.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/2.132, allocations: 0.5809 MB / 0.9565 GB, free: 57.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 944 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1214): * Single equations (assignments): 1208 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(1,100.0%) 14,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003578/2.136, allocations: 0.55 MB / 0.9571 GB, free: 57.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/2.137, allocations: 0.5554 MB / 0.9576 GB, free: 56.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/2.158, allocations: 6.415 MB / 0.9639 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001225/2.158, allocations: 32 kB / 0.9639 GB, free: 51.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.662e-05/2.158, allocations: 12 kB / 0.9639 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.373e-05/2.158, allocations: 22.05 kB / 0.964 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04177/2.2, allocations: 13.77 MB / 0.9774 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.384e-05/2.2, allocations: 2.719 kB / 0.9774 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006745/2.207, allocations: 0.5471 MB / 0.9779 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005446/2.212, allocations: 1.003 MB / 0.9789 GB, free: 39.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008955/2.213, allocations: 17.3 kB / 0.9789 GB, free: 39.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/2.232, allocations: 9.494 MB / 0.9882 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/2.232, allocations: 3.906 kB / 0.9882 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02809/2.26, allocations: 11.01 MB / 0.999 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00443/2.265, allocations: 1.076 MB / 1 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00248/2.267, allocations: 7.938 kB / 1 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006257/2.274, allocations: 103 kB / 1 GB, free: 19.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/2.275, allocations: 161.8 kB / 1 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005481/2.275, allocations: 83.28 kB / 1 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.009643/2.285, allocations: 3.537 MB / 1.004 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01303/2.298, allocations: 1.525 MB / 1.005 GB, free: 14.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (283): * Single equations (assignments): 277 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 11,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/2.299, allocations: 161.1 kB / 1.005 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02077/2.32, allocations: 8.853 MB / 1.014 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/2.32, allocations: 0 / 1.014 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008711/2.329, allocations: 3.339 MB / 1.017 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006361/2.335, allocations: 0.6153 MB / 1.018 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2411/2.577, allocations: 15.18 MB / 1.033 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0186/2.595, allocations: 6.106 MB / 1.039 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.764e-06/2.595, allocations: 0 / 1.039 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.531/3.126, allocations: 192.3 MB / 1.227 GB, free: 141.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches