Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") [: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.002616/0.002616, allocations: 173.9 kB / 8.147 MB, free: 2.133 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.686/1.686, allocations: 205.2 MB / 213.8 MB, free: 14 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.001278/0.001278, allocations: 96.23 kB / 261.8 MB, free: 13.63 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.3097/0.3097, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.165e-06/8.316e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2697, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.4576, allocations: 106.9 MB / 0.5698 GB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4579, allocations: 83.45 kB / 0.5699 GB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.851/1.309, allocations: 173.9 MB / 0.7396 GB, free: 66.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005631/1.31, allocations: 181 kB / 0.7398 GB, free: 66.58 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03749/1.347, allocations: 8.734 MB / 0.7483 GB, free: 57.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/1.347, allocations: 8.031 kB / 0.7484 GB, free: 57.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06772/1.415, allocations: 9.463 MB / 0.7576 GB, free: 48.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04334/1.458, allocations: 9.957 MB / 0.7673 GB, free: 38.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009597/1.459, allocations: 304 kB / 0.7676 GB, free: 38.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006652/1.466, allocations: 0.5466 MB / 0.7681 GB, free: 37.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05099/1.517, allocations: 13.34 MB / 0.7812 GB, free: 24.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07703/1.594, allocations: 19.6 MB / 0.8003 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008728/1.595, allocations: 111 kB / 0.8004 GB, free: 2.785 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005658/1.601, allocations: 48 kB / 0.8005 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006172/1.607, allocations: 2.228 MB / 0.8026 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3565/1.964, allocations: 89.06 MB / 0.8896 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/1.98, allocations: 8.269 MB / 0.8977 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01149/1.991, allocations: 5.971 MB / 0.9035 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04066/2.032, allocations: 15.37 MB / 0.9185 GB, free: 88.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.669e-05/2.032, allocations: 75.56 kB / 0.9186 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=394): time 9.769e-06/2.032, allocations: 2.156 kB / 0.9186 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=460): time 0.1412/2.173, allocations: 38.14 MB / 0.9558 GB, free: 73.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/2.174, allocations: 282 kB / 0.9561 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/2.189, allocations: 5.684 MB / 0.9617 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/2.19, allocations: 26.98 kB / 0.9617 GB, free: 71.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004162/2.195, allocations: 5.533 MB / 0.9671 GB, free: 67.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003191/2.198, allocations: 1.642 MB / 0.9687 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/2.2, allocations: 5 kB / 0.9687 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001092/2.201, allocations: 0.8061 MB / 0.9695 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01331/2.214, allocations: 4.935 MB / 0.9743 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01788/2.232, allocations: 11.23 MB / 0.9853 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/2.249, allocations: 7.404 MB / 0.9925 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002177/2.249, allocations: 64 kB / 0.9926 GB, free: 45.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1509) (initialization): time 0.04965/2.299, allocations: 16.7 MB / 1.009 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/2.299, allocations: 4 kB / 1.009 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003803/2.3, allocations: 224 kB / 1.009 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/2.31, allocations: 2.285 MB / 1.011 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01966/2.33, allocations: 2.707 MB / 1.014 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03213/2.362, allocations: 15.54 MB / 1.029 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.375, allocations: 378.9 kB / 1.03 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003218/2.378, allocations: 0.668 MB / 1.03 GB, free: 12.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1017 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1413): * Single equations (assignments): 1407 * 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,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004261/2.382, allocations: 0.5965 MB / 1.031 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002203/2.385, allocations: 0.6325 MB / 1.031 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03344/2.418, allocations: 10.16 MB / 1.041 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001401/2.418, allocations: 47.91 kB / 1.041 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.13e-05/2.418, allocations: 19.94 kB / 1.041 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/2.418, allocations: 28.33 kB / 1.041 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2515/2.67, allocations: 20.51 MB / 1.061 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-05/2.67, allocations: 0 / 1.061 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009424/2.68, allocations: 0.7807 MB / 1.062 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/2.69, allocations: 1.987 MB / 1.064 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00137/2.691, allocations: 16.45 kB / 1.064 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03264/2.724, allocations: 14.36 MB / 1.078 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/2.724, allocations: 6.375 kB / 1.078 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04288/2.767, allocations: 16.48 MB / 1.094 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005841/2.773, allocations: 1.421 MB / 1.096 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002899/2.776, allocations: 9.031 kB / 1.096 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008317/2.784, allocations: 190.2 kB / 1.096 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/2.786, allocations: 215.5 kB / 1.096 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007452/2.787, allocations: 114 kB / 1.096 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.01045/2.797, allocations: 3.848 MB / 1.1 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01523/2.813, allocations: 1.929 MB / 1.102 GB, free: 121.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 383 * 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 {(4,75.0%) 18,(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.00166/2.814, allocations: 171.4 kB / 1.102 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02773/2.842, allocations: 12.01 MB / 1.114 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/2.842, allocations: 0.9062 kB / 1.114 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01559/2.858, allocations: 5.035 MB / 1.119 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007195/2.865, allocations: 0.6682 MB / 1.119 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.063/2.928, allocations: 19.26 MB / 1.138 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02217/2.95, allocations: 7.173 MB / 1.145 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/2.95, allocations: 0 / 1.145 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.595/3.545, allocations: 233.5 MB / 1.373 GB, free: 34.68 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches