Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") [: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.001741/0.001741, allocations: 173 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.686/1.686, 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.001278/0.001278, allocations: 91.91 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.2634/0.2634, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.413e-06/7.524e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.275, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.4593, allocations: 104.8 MB / 0.5677 GB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.4597, allocations: 75.95 kB / 0.5678 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.8094/1.269, allocations: 158.2 MB / 0.7223 GB, free: 65.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005577/1.27, allocations: 167.9 kB / 0.7224 GB, free: 65.55 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.03224/1.302, allocations: 7.918 MB / 0.7302 GB, free: 58.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.302, allocations: 8.031 kB / 0.7302 GB, free: 58.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08036/1.382, allocations: 11.6 MB / 0.7415 GB, free: 47.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03744/1.42, allocations: 10.93 MB / 0.7522 GB, free: 37.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004686/1.42, allocations: 268 kB / 0.7524 GB, free: 37.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004182/1.425, allocations: 495.7 kB / 0.7529 GB, free: 37.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03002/1.455, allocations: 11.41 MB / 0.7641 GB, free: 25.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0447/1.499, allocations: 16.94 MB / 0.7806 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005138/1.5, allocations: 107 kB / 0.7807 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002808/1.503, allocations: 44 kB / 0.7807 GB, free: 7.176 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003546/1.506, allocations: 1.864 MB / 0.7826 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3292/1.836, allocations: 78.63 MB / 0.8593 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/1.849, allocations: 6.416 MB / 0.8656 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009145/1.858, allocations: 4.534 MB / 0.87 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03377/1.892, allocations: 13.91 MB / 0.8836 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/1.892, allocations: 68.12 kB / 0.8837 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=296): time 7.775e-06/1.892, allocations: 0 / 0.8837 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=322): time 0.1021/1.994, allocations: 29.74 MB / 0.9127 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.994, allocations: 296.6 kB / 0.913 GB, free: 111 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01451/2.009, allocations: 5.481 MB / 0.9184 GB, free: 109 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008561/2.009, allocations: 27.02 kB / 0.9184 GB, free: 109 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003849/2.013, allocations: 4.898 MB / 0.9232 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002288/2.016, allocations: 1.183 MB / 0.9243 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/2.017, allocations: 0 / 0.9243 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009419/2.018, allocations: 0.7234 MB / 0.925 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009816/2.028, allocations: 3.341 MB / 0.9283 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.041, allocations: 9.011 MB / 0.9371 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/2.053, allocations: 5.453 MB / 0.9424 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002057/2.054, allocations: 56.91 kB / 0.9425 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.0337/2.087, allocations: 11.66 MB / 0.9539 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/2.087, allocations: 6.906 kB / 0.9539 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003374/2.088, allocations: 204 kB / 0.9541 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00392/2.092, allocations: 0.9893 MB / 0.955 GB, free: 84.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/2.107, allocations: 2.189 MB / 0.9572 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/2.124, allocations: 10.45 MB / 0.9674 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009406/2.133, allocations: 289.2 kB / 0.9677 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/2.136, allocations: 0.5733 MB / 0.9682 GB, free: 71.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 921 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],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 (1184): * Single equations (assignments): 1177 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003131/2.139, allocations: 0.5435 MB / 0.9687 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/2.141, allocations: 0.5823 MB / 0.9693 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/2.158, allocations: 5.582 MB / 0.9748 GB, free: 66.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/2.158, allocations: 28 kB / 0.9748 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.33e-05/2.158, allocations: 8 kB / 0.9748 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.225e-05/2.158, allocations: 18.44 kB / 0.9748 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04105/2.2, allocations: 12.85 MB / 0.9874 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/2.2, allocations: 0 / 0.9874 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005757/2.205, allocations: 0.489 MB / 0.9878 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003604/2.209, allocations: 0.6749 MB / 0.9885 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007475/2.21, allocations: 8 kB / 0.9885 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/2.224, allocations: 9.243 MB / 0.9975 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/2.225, allocations: 7.797 kB / 0.9975 GB, free: 45.63 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02321/2.248, allocations: 9.637 MB / 1.007 GB, free: 37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/2.252, allocations: 1.056 MB / 1.008 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/2.254, allocations: 2.812 kB / 1.008 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006009/2.26, allocations: 115.6 kB / 1.008 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/2.261, allocations: 146 kB / 1.008 GB, free: 35.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003751/2.262, allocations: 83.97 kB / 1.008 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.009781/2.272, allocations: 3.753 MB / 1.012 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01235/2.284, allocations: 1.555 MB / 1.014 GB, free: 30.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (269): * Single equations (assignments): 262 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(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.001103/2.285, allocations: 164.9 kB / 1.014 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01872/2.304, allocations: 8.301 MB / 1.022 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/2.304, allocations: 4 kB / 1.022 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006419/2.31, allocations: 2.98 MB / 1.025 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00677/2.317, allocations: 0.6991 MB / 1.025 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04881/2.366, allocations: 15.41 MB / 1.04 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01938/2.386, allocations: 6.384 MB / 1.047 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/2.386, allocations: 0 / 1.047 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of Templates: time 0.7541/3.14, allocations: 231.8 MB / 1.273 GB, free: 138.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches