Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") [: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.0008661/0.0008662, allocations: 192.4 kB / 7.808 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.081/1.081, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007967/0.0007967, allocations: 92.42 kB / 261.4 MB, free: 13.53 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.1574/0.1574, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/5.931e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 58.83 MB / 476.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3568, allocations: 100.6 MB / 0.5636 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.357, allocations: 63.97 kB / 0.5637 GB, free: 14.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1393/0.4963, allocations: 56.9 MB / 0.6193 GB, free: 4.867 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.494e-05/0.4964, allocations: 48 kB / 0.6193 GB, free: 4.82 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.003883/0.5003, allocations: 2.552 MB / 0.6218 GB, free: 2.211 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.024e-05/0.5003, allocations: 8.031 kB / 0.6218 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.5068, allocations: 1.584 MB / 0.6234 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007002/0.5138, allocations: 3.408 MB / 0.6267 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.5139, allocations: 76 kB / 0.6268 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/0.5143, allocations: 147.9 kB / 0.6269 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005059/0.5194, allocations: 4.092 MB / 0.6309 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006486/0.5259, allocations: 6.386 MB / 0.6371 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.177e-05/0.5259, allocations: 47.61 kB / 0.6372 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002764/0.5262, allocations: 24 kB / 0.6372 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007709/0.527, allocations: 0.7615 MB / 0.6379 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1404/0.6674, allocations: 32.83 MB / 0.67 GB, free: 150.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.6691, allocations: 2.077 MB / 0.672 GB, free: 149.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009319/0.67, allocations: 1.136 MB / 0.6731 GB, free: 149.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004357/0.6744, allocations: 3.816 MB / 0.6769 GB, free: 148.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.6744, allocations: 46.36 kB / 0.6769 GB, free: 148.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 2.164e-06/0.6745, allocations: 3.969 kB / 0.6769 GB, free: 148.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.008886/0.6833, allocations: 6.241 MB / 0.683 GB, free: 146.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.6834, allocations: 138.7 kB / 0.6831 GB, free: 146.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.6856, allocations: 2.22 MB / 0.6853 GB, free: 145.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.6857, allocations: 25.7 kB / 0.6853 GB, free: 145.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000699/0.6864, allocations: 2.078 MB / 0.6874 GB, free: 143.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.6866, allocations: 433.9 kB / 0.6878 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.6867, allocations: 2.531 kB / 0.6878 GB, free: 143.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.6869, allocations: 0.5424 MB / 0.6883 GB, free: 143 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.6883, allocations: 1.338 MB / 0.6896 GB, free: 142.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.6904, allocations: 4.283 MB / 0.6938 GB, free: 138.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.6926, allocations: 2.398 MB / 0.6961 GB, free: 137.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/0.6926, allocations: 33.38 kB / 0.6962 GB, free: 137.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.005475/0.6981, allocations: 4.875 MB / 0.7009 GB, free: 135.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6981, allocations: 7.094 kB / 0.7009 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.235e-05/0.6982, allocations: 105 kB / 0.701 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.71e-05/0.6983, allocations: 155.2 kB / 0.7012 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.7013, allocations: 1.095 MB / 0.7023 GB, free: 135.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/0.7014, allocations: 211.8 kB / 0.7025 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.7041, allocations: 179 kB / 0.7026 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/0.7046, allocations: 290.3 kB / 0.7029 GB, free: 135.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 566 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004161/0.705, allocations: 362.7 kB / 0.7033 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.7053, allocations: 215.4 kB / 0.7035 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.7069, allocations: 1.179 MB / 0.7046 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/0.707, allocations: 9.094 kB / 0.7046 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.707, allocations: 2.5 kB / 0.7046 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.707, allocations: 5.25 kB / 0.7046 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005696/0.7127, allocations: 3.983 MB / 0.7085 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7127, allocations: 10.45 kB / 0.7085 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.7136, allocations: 189.8 kB / 0.7087 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.7136, allocations: 12.34 kB / 0.7087 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.7137, allocations: 17.61 kB / 0.7087 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.7137, allocations: 20.66 kB / 0.7088 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7137, allocations: 7.344 kB / 0.7088 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002037/0.7158, allocations: 2.651 MB / 0.7114 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/0.7164, allocations: 425.3 kB / 0.7118 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.7166, allocations: 16.22 kB / 0.7118 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008681/0.7175, allocations: 47.67 kB / 0.7118 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.7176, allocations: 61.28 kB / 0.7119 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.7177, allocations: 37.92 kB / 0.7119 GB, free: 131.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001592/0.7193, allocations: 1.47 MB / 0.7134 GB, free: 130.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002945/0.7223, allocations: 0.5355 MB / 0.7139 GB, free: 130.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002428/0.7225, allocations: 159.7 kB / 0.714 GB, free: 130.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.7257, allocations: 3.061 MB / 0.717 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7257, allocations: 4 kB / 0.717 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.7264, allocations: 0.747 MB / 0.7177 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.7273, allocations: 207.1 kB / 0.7179 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/0.7337, allocations: 4.682 MB / 0.7225 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/0.7358, allocations: 2.461 MB / 0.7249 GB, free: 120.3 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7359, allocations: 0 / 0.7249 GB, free: 120.3 MB / 474.7 MB Notification: Performance of Templates: time 0.03327/0.7691, allocations: 21.13 MB / 0.7456 GB, free: 104.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches