Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces") [: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.001575/0.001578, allocations: 170.2 kB / 8.147 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.899/1.899, 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.001256/0.001256, allocations: 90.72 kB / 261.8 MB, free: 13.65 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.2626/0.2626, allocations: 43.48 MB / 353.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.216e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2794, allocations: 58.85 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.4644, allocations: 106 MB / 0.5689 GB, free: 9.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.4647, allocations: 79.41 kB / 0.569 GB, free: 8.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6126/1.077, allocations: 107.6 MB / 0.6741 GB, free: 103.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003663/1.078, allocations: 101.2 kB / 0.6742 GB, free: 103.3 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02005/1.098, allocations: 5.298 MB / 0.6794 GB, free: 101 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.098, allocations: 7.375 kB / 0.6794 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04676/1.145, allocations: 6.554 MB / 0.6858 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02448/1.169, allocations: 6.88 MB / 0.6925 GB, free: 98.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/1.17, allocations: 174.3 kB / 0.6927 GB, free: 98.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/1.172, allocations: 313.4 kB / 0.693 GB, free: 98.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02114/1.193, allocations: 7.471 MB / 0.7003 GB, free: 96.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0314/1.225, allocations: 11.65 MB / 0.7116 GB, free: 89.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004337/1.225, allocations: 80.94 kB / 0.7117 GB, free: 89.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/1.228, allocations: 38.03 kB / 0.7117 GB, free: 89.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002978/1.231, allocations: 1.296 MB / 0.713 GB, free: 89.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08098/1.312, allocations: 57.54 MB / 0.7692 GB, free: 31.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007102/1.319, allocations: 3.742 MB / 0.7729 GB, free: 27.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004523/1.324, allocations: 2.385 MB / 0.7752 GB, free: 25.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01727/1.341, allocations: 6.776 MB / 0.7818 GB, free: 18.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.341, allocations: 55.5 kB / 0.7819 GB, free: 18.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=172): time 5.52e-06/1.341, allocations: 0 / 0.7819 GB, free: 18.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=185): time 0.04815/1.389, allocations: 15.25 MB / 0.7967 GB, free: 2.844 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.389, allocations: 197.2 kB / 0.7969 GB, free: 2.609 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009943/1.399, allocations: 4.165 MB / 0.801 GB, free: 14.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000457/1.4, allocations: 29.64 kB / 0.801 GB, free: 14.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003725/1.403, allocations: 3.628 MB / 0.8046 GB, free: 10.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/1.405, allocations: 0.7135 MB / 0.8053 GB, free: 10 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007107/1.406, allocations: 4 kB / 0.8053 GB, free: 10 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006266/1.406, allocations: 0.6206 MB / 0.8059 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006223/1.412, allocations: 2.201 MB / 0.808 GB, free: 7.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/1.423, allocations: 6.763 MB / 0.8146 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009903/1.433, allocations: 3.853 MB / 0.8184 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.433, allocations: 48 kB / 0.8184 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=952) (initialization): time 0.02476/1.458, allocations: 8.109 MB / 0.8264 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.458, allocations: 8.062 kB / 0.8264 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000256/1.458, allocations: 164 kB / 0.8265 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/1.461, allocations: 0.5821 MB / 0.8271 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1755/1.636, allocations: 1.659 MB / 0.8287 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008738/1.645, allocations: 5.339 MB / 0.8339 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006469/1.651, allocations: 208.2 kB / 0.8341 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/1.653, allocations: 452.6 kB / 0.8346 GB, free: 170.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 747 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (902): * Single equations (assignments): 897 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001151/1.654, allocations: 445.3 kB / 0.835 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009664/1.655, allocations: 418.8 kB / 0.8354 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007889/1.663, allocations: 2.832 MB / 0.8381 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-05/1.663, allocations: 18.16 kB / 0.8382 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.663, allocations: 3.312 kB / 0.8382 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/1.663, allocations: 15.48 kB / 0.8382 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.682, allocations: 6.982 MB / 0.845 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.682, allocations: 0 / 0.845 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002735/1.685, allocations: 264.4 kB / 0.8453 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/1.686, allocations: 348.8 kB / 0.8456 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.687, allocations: 10.62 kB / 0.8456 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007162/1.694, allocations: 4.625 MB / 0.8501 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.694, allocations: 0 / 0.8501 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01164/1.705, allocations: 5.424 MB / 0.8554 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.708, allocations: 0.6933 MB / 0.8561 GB, free: 167 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/1.709, allocations: 3.469 kB / 0.8561 GB, free: 167 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.712, allocations: 51.25 kB / 0.8561 GB, free: 167 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/1.712, allocations: 84.33 kB / 0.8562 GB, free: 167 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.712, allocations: 45.34 kB / 0.8563 GB, free: 167 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006061/1.718, allocations: 2.823 MB / 0.859 GB, free: 166 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007797/1.726, allocations: 1.023 MB / 0.86 GB, free: 166 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 141 * 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 {(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.0005667/1.727, allocations: 139.9 kB / 0.8602 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.738, allocations: 5.35 MB / 0.8654 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.739, allocations: 0 / 0.8654 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003303/1.742, allocations: 1.58 MB / 0.8669 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.746, allocations: 472.3 kB / 0.8674 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/1.774, allocations: 9.902 MB / 0.877 GB, free: 160 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01076/1.785, allocations: 4.475 MB / 0.8814 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/1.785, allocations: 2.469 kB / 0.8814 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1881/1.973, allocations: 112 MB / 0.9908 GB, free: 66.07 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches