Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009227/0.0009226, allocations: 185.7 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007656/0.0007656, allocations: 86.05 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.165/0.165, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.711e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1983, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3116, allocations: 106 MB / 0.5689 GB, free: 8.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.3118, allocations: 79.95 kB / 0.569 GB, free: 8.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3821/0.694, allocations: 107.6 MB / 0.6741 GB, free: 105.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002933/0.6943, allocations: 99.25 kB / 0.6742 GB, free: 105.8 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.01296/0.7073, allocations: 5.293 MB / 0.6794 GB, free: 103.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7073, allocations: 7.25 kB / 0.6794 GB, free: 103.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02267/0.73, allocations: 6.551 MB / 0.6858 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/0.7456, allocations: 6.886 MB / 0.6925 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/0.746, allocations: 170.5 kB / 0.6927 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/0.7481, allocations: 316.1 kB / 0.693 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01226/0.7604, allocations: 7.47 MB / 0.7003 GB, free: 98.26 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.7778, allocations: 11.65 MB / 0.7116 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/0.778, allocations: 81.16 kB / 0.7117 GB, free: 91.74 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006162/0.7786, allocations: 36 kB / 0.7118 GB, free: 91.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001201/0.7798, allocations: 1.299 MB / 0.713 GB, free: 90.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04153/0.8214, allocations: 57.54 MB / 0.7692 GB, free: 32.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.8247, allocations: 3.73 MB / 0.7729 GB, free: 28.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.8268, allocations: 2.397 MB / 0.7752 GB, free: 25.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008561/0.8354, allocations: 6.774 MB / 0.7818 GB, free: 18.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.8354, allocations: 67.36 kB / 0.7819 GB, free: 18.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=172): time 3.817e-06/0.8354, allocations: 0 / 0.7819 GB, free: 18.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=185): time 0.02344/0.8589, allocations: 15.24 MB / 0.7968 GB, free: 3.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.8589, allocations: 201.2 kB / 0.797 GB, free: 3.215 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/0.8634, allocations: 4.169 MB / 0.801 GB, free: 15.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.8636, allocations: 25.7 kB / 0.8011 GB, free: 15.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001911/0.8655, allocations: 3.727 MB / 0.8047 GB, free: 11.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005799/0.8661, allocations: 0.7213 MB / 0.8054 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.8663, allocations: 0 / 0.8054 GB, free: 10.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000368/0.8667, allocations: 0.612 MB / 0.806 GB, free: 9.883 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/0.8694, allocations: 2.201 MB / 0.8081 GB, free: 7.676 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/0.8747, allocations: 6.759 MB / 0.8147 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/0.8792, allocations: 3.861 MB / 0.8185 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.127e-05/0.8793, allocations: 47.98 kB / 0.8186 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=952) (initialization): time 0.01145/0.8908, allocations: 8.251 MB / 0.8266 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8908, allocations: 4 kB / 0.8266 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/0.8909, allocations: 164 kB / 0.8268 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.8922, allocations: 0.5918 MB / 0.8274 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004287/0.8965, allocations: 1.657 MB / 0.829 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1295/1.026, allocations: 5.304 MB / 0.8342 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004452/1.03, allocations: 220.9 kB / 0.8344 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004259/1.031, allocations: 457.4 kB / 0.8348 GB, free: 169.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.0006184/1.032, allocations: 0.505 MB / 0.8353 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/1.032, allocations: 423.5 kB / 0.8357 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/1.036, allocations: 2.828 MB / 0.8385 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.036, allocations: 20.28 kB / 0.8385 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.036, allocations: 7.531 kB / 0.8385 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.036, allocations: 13.47 kB / 0.8385 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009046/1.045, allocations: 6.993 MB / 0.8453 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.045, allocations: 0 / 0.8453 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.046, allocations: 263.6 kB / 0.8456 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008376/1.047, allocations: 338.8 kB / 0.8459 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.047, allocations: 10.22 kB / 0.8459 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/1.051, allocations: 4.621 MB / 0.8504 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.051, allocations: 3.219 kB / 0.8504 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005862/1.057, allocations: 5.422 MB / 0.8557 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.058, allocations: 0.6892 MB / 0.8564 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/1.059, allocations: 0 / 0.8564 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.06, allocations: 40.2 kB / 0.8564 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.06, allocations: 87.77 kB / 0.8565 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.06, allocations: 52.75 kB / 0.8566 GB, free: 166 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003284/1.064, allocations: 2.826 MB / 0.8593 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004333/1.068, allocations: 1.015 MB / 0.8603 GB, free: 165.1 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.0003231/1.068, allocations: 145.1 kB / 0.8605 GB, free: 165 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00573/1.074, allocations: 5.35 MB / 0.8657 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.074, allocations: 4.469 kB / 0.8657 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.076, allocations: 1.591 MB / 0.8672 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.078, allocations: 462.6 kB / 0.8677 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.091, allocations: 9.295 MB / 0.8768 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004616/1.096, allocations: 4.459 MB / 0.8811 GB, free: 158 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/1.096, allocations: 0 / 0.8811 GB, free: 158 MB / 0.4948 GB Notification: Performance of Templates: time 0.07245/1.168, allocations: 41.41 MB / 0.9216 GB, free: 138 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches