Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 177.6 kB / 8.147 MB, free: 2.082 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.691/1.691, 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.00129/0.00129, allocations: 93.94 kB / 261.8 MB, free: 13.62 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.2591/0.2591, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.176e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2977, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.4963, allocations: 100.6 MB / 0.5636 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4966, allocations: 67.97 kB / 0.5637 GB, free: 14.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3321/0.8287, allocations: 56.89 MB / 0.6192 GB, free: 5.023 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.8289, allocations: 44 kB / 0.6193 GB, free: 4.98 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.01241/0.8414, allocations: 2.556 MB / 0.6218 GB, free: 2.367 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.8415, allocations: 12.03 kB / 0.6218 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01956/0.861, allocations: 1.58 MB / 0.6233 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/0.8752, allocations: 3.404 MB / 0.6267 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.8754, allocations: 80 kB / 0.6267 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009617/0.8764, allocations: 151.8 kB / 0.6269 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01125/0.8877, allocations: 4.085 MB / 0.6309 GB, free: 8.992 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.9032, allocations: 6.39 MB / 0.6371 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.9034, allocations: 47.61 kB / 0.6372 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005229/0.9039, allocations: 27.98 kB / 0.6372 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/0.9055, allocations: 0.7576 MB / 0.6379 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.249/1.155, allocations: 32.83 MB / 0.67 GB, free: 50.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/1.158, allocations: 2.069 MB / 0.672 GB, free: 49.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/1.16, allocations: 1.134 MB / 0.6731 GB, free: 49.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008654/1.169, allocations: 3.827 MB / 0.6769 GB, free: 47.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.169, allocations: 51.58 kB / 0.6769 GB, free: 47.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 5e-06/1.169, allocations: 0 / 0.6769 GB, free: 47.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.01806/1.187, allocations: 6.235 MB / 0.683 GB, free: 46.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.187, allocations: 145.1 kB / 0.6831 GB, free: 46.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/1.191, allocations: 2.22 MB / 0.6853 GB, free: 46.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/1.192, allocations: 29.67 kB / 0.6853 GB, free: 45.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.193, allocations: 2.095 MB / 0.6874 GB, free: 44.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005682/1.194, allocations: 429.6 kB / 0.6878 GB, free: 44.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/1.194, allocations: 0 / 0.6878 GB, free: 44.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002802/1.194, allocations: 0.4979 MB / 0.6883 GB, free: 44.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/1.197, allocations: 1.336 MB / 0.6896 GB, free: 44.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/1.202, allocations: 4.284 MB / 0.6938 GB, free: 40.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005223/1.207, allocations: 2.397 MB / 0.6961 GB, free: 40.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.426e-05/1.207, allocations: 31.06 kB / 0.6961 GB, free: 40.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.01214/1.219, allocations: 4.837 MB / 0.7009 GB, free: 39.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.219, allocations: 7.406 kB / 0.7009 GB, free: 39.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/1.219, allocations: 104.2 kB / 0.701 GB, free: 39.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/1.22, allocations: 156.6 kB / 0.7011 GB, free: 39.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006736/1.226, allocations: 1.097 MB / 0.7022 GB, free: 39.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/1.227, allocations: 207.4 kB / 0.7024 GB, free: 39.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.231, allocations: 166.1 kB / 0.7025 GB, free: 39.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006584/1.232, allocations: 289.8 kB / 0.7028 GB, free: 39.31 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.000726/1.232, allocations: 283.9 kB / 0.7031 GB, free: 39.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005404/1.233, allocations: 221.3 kB / 0.7033 GB, free: 38.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/1.236, allocations: 1.178 MB / 0.7044 GB, free: 38.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/1.236, allocations: 15.72 kB / 0.7045 GB, free: 38.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.236, allocations: 4.562 kB / 0.7045 GB, free: 38.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.236, allocations: 3.141 kB / 0.7045 GB, free: 38.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.246, allocations: 3.983 MB / 0.7084 GB, free: 38.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.246, allocations: 7.75 kB / 0.7084 GB, free: 38.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/1.248, allocations: 183.6 kB / 0.7085 GB, free: 38.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/1.248, allocations: 15.66 kB / 0.7086 GB, free: 38.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.249, allocations: 11.72 kB / 0.7086 GB, free: 38.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/1.249, allocations: 21.06 kB / 0.7086 GB, free: 38.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/1.249, allocations: 11.69 kB / 0.7086 GB, free: 38.28 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003679/1.252, allocations: 2.655 MB / 0.7112 GB, free: 36.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.253, allocations: 426.1 kB / 0.7116 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004456/1.254, allocations: 11.56 kB / 0.7116 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.256, allocations: 52.81 kB / 0.7117 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/1.256, allocations: 52.61 kB / 0.7117 GB, free: 36.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.256, allocations: 45.23 kB / 0.7117 GB, free: 36.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002869/1.259, allocations: 1.472 MB / 0.7132 GB, free: 36.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004743/1.264, allocations: 0.5262 MB / 0.7137 GB, free: 36.44 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.0004838/1.264, allocations: 152.2 kB / 0.7138 GB, free: 36.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006548/1.271, allocations: 3.06 MB / 0.7168 GB, free: 36.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.271, allocations: 0.5 kB / 0.7168 GB, free: 36.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/1.272, allocations: 0.7613 MB / 0.7176 GB, free: 36.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.274, allocations: 203.1 kB / 0.7178 GB, free: 36.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.288, allocations: 4.97 MB / 0.7226 GB, free: 34.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004518/1.292, allocations: 2.472 MB / 0.725 GB, free: 34.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/1.292, allocations: 0 / 0.725 GB, free: 34.13 MB / 474.7 MB Notification: Performance of Templates: time 0.0729/1.365, allocations: 34.61 MB / 0.7588 GB, free: 20.22 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches