Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") [: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.001653/0.001657, allocations: 180.5 kB / 8.155 MB, free: 2.168 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.735/1.735, 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.001306/0.001305, allocations: 94.28 kB / 261.8 MB, free: 13.61 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.2571/0.2571, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.298e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.4528, allocations: 105 MB / 0.5679 GB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.4532, allocations: 79.95 kB / 0.568 GB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7308/1.184, allocations: 133.3 MB / 0.6981 GB, free: 100.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005392/1.185, allocations: 138.9 kB / 0.6983 GB, free: 100.1 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02843/1.213, allocations: 6.578 MB / 0.7047 GB, free: 95.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.213, allocations: 8.688 kB / 0.7047 GB, free: 95.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06576/1.279, allocations: 9.094 MB / 0.7136 GB, free: 90.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03293/1.312, allocations: 8.84 MB / 0.7222 GB, free: 83.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/1.312, allocations: 224 kB / 0.7224 GB, free: 83.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003588/1.316, allocations: 411.8 kB / 0.7228 GB, free: 82.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02428/1.34, allocations: 9.383 MB / 0.732 GB, free: 73.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03634/1.377, allocations: 14.4 MB / 0.746 GB, free: 57.49 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004099/1.377, allocations: 95.12 kB / 0.7461 GB, free: 57.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002547/1.38, allocations: 44 kB / 0.7462 GB, free: 57.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002817/1.383, allocations: 1.567 MB / 0.7477 GB, free: 55.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/1.49, allocations: 69.39 MB / 0.8155 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/1.502, allocations: 5.034 MB / 0.8204 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007879/1.509, allocations: 3.398 MB / 0.8237 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1991/1.709, allocations: 9.646 MB / 0.8331 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/1.709, allocations: 59.06 kB / 0.8332 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=236): time 7.224e-06/1.709, allocations: 2.438 kB / 0.8332 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.07707/1.786, allocations: 22.75 MB / 0.8554 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/1.786, allocations: 259.1 kB / 0.8556 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.799, allocations: 4.885 MB / 0.8604 GB, free: 162.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/1.799, allocations: 29.42 kB / 0.8604 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003137/1.802, allocations: 4.315 MB / 0.8646 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.804, allocations: 0.9652 MB / 0.8656 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009267/1.805, allocations: 2.469 kB / 0.8656 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005555/1.806, allocations: 0.6763 MB / 0.8663 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006872/1.813, allocations: 2.76 MB / 0.8689 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/1.823, allocations: 8.049 MB / 0.8768 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.834, allocations: 4.697 MB / 0.8814 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002267/1.834, allocations: 56.72 kB / 0.8814 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.0286/1.863, allocations: 9.961 MB / 0.8912 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.863, allocations: 7.625 kB / 0.8912 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002781/1.863, allocations: 188.4 kB / 0.8914 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/1.866, allocations: 0.7909 MB / 0.8921 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/1.879, allocations: 1.961 MB / 0.8941 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.893, allocations: 7.892 MB / 0.9018 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008564/1.901, allocations: 253.5 kB / 0.902 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0026/1.904, allocations: 0.5275 MB / 0.9025 GB, free: 141.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1065): * Single equations (assignments): 1059 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003357/1.907, allocations: 0.496 MB / 0.903 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/1.909, allocations: 0.5007 MB / 0.9035 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.923, allocations: 4.161 MB / 0.9076 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/1.923, allocations: 26.91 kB / 0.9076 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-05/1.923, allocations: 9.734 kB / 0.9076 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.658e-05/1.923, allocations: 9.141 kB / 0.9076 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03236/1.956, allocations: 9.76 MB / 0.9171 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.956, allocations: 0 / 0.9171 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004202/1.96, allocations: 381.4 kB / 0.9175 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/1.963, allocations: 0.5026 MB / 0.918 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/1.963, allocations: 15.22 kB / 0.918 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.974, allocations: 6.919 MB / 0.9248 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.974, allocations: 9.875 kB / 0.9248 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01679/1.99, allocations: 7.514 MB / 0.9321 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/1.994, allocations: 0.8719 MB / 0.933 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/1.996, allocations: 0 / 0.933 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005133/2.001, allocations: 94.11 kB / 0.933 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008996/2.002, allocations: 114 kB / 0.9331 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004042/2.003, allocations: 70.25 kB / 0.9332 GB, free: 120 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.009018/2.012, allocations: 3.328 MB / 0.9365 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01173/2.024, allocations: 1.287 MB / 0.9377 GB, free: 115.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 205 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/2.025, allocations: 150.4 kB / 0.9379 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.04, allocations: 6.845 MB / 0.9446 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/2.04, allocations: 7.938 kB / 0.9446 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004894/2.045, allocations: 2.273 MB / 0.9468 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005776/2.051, allocations: 0.5743 MB / 0.9473 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/2.091, allocations: 12.74 MB / 0.9598 GB, free: 95.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01503/2.107, allocations: 5.472 MB / 0.9651 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.894e-06/2.107, allocations: 0 / 0.9651 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.4677/2.574, allocations: 167.5 MB / 1.129 GB, free: 104.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches