Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [: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.0009132/0.0009133, allocations: 191.9 kB / 7.805 MB, free: 2.5 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.01/1.01, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008132/0.0008132, allocations: 97.38 kB / 261.4 MB, free: 13.46 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.1521/0.1521, allocations: 43.49 MB / 352.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.323e-06/7.344e-06, allocations: 4 kB / 417.7 MB, free: 40.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2099, allocations: 58.83 MB / 476.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3181, allocations: 104.7 MB / 0.5676 GB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001581/0.3183, allocations: 78.81 kB / 0.5677 GB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3161/0.6344, allocations: 77.39 MB / 0.6433 GB, free: 111.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.862e-05/0.6345, allocations: 81.64 kB / 0.6433 GB, free: 111.2 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.004086/0.6386, allocations: 3.54 MB / 0.6468 GB, free: 109.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6386, allocations: 9.062 kB / 0.6468 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.6498, allocations: 2.739 MB / 0.6495 GB, free: 109.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/0.654, allocations: 2.349 MB / 0.6518 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-05/0.6541, allocations: 131.4 kB / 0.6519 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006878/0.6548, allocations: 235.3 kB / 0.6521 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007346/0.6621, allocations: 6.802 MB / 0.6588 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.6727, allocations: 10.11 MB / 0.6686 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.381e-05/0.6728, allocations: 44.81 kB / 0.6687 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004877/0.6733, allocations: 25.59 kB / 0.6687 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008597/0.6742, allocations: 1.21 MB / 0.6699 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0341/0.7083, allocations: 46.13 MB / 0.7149 GB, free: 72.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.7108, allocations: 2.789 MB / 0.7177 GB, free: 71.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.712, allocations: 1.033 MB / 0.7187 GB, free: 70.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.712, allocations: 25.81 kB / 0.7187 GB, free: 70.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.7121, allocations: 50.47 kB / 0.7187 GB, free: 70.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=179): time 3.867e-06/0.7121, allocations: 4 kB / 0.7187 GB, free: 70.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=179): time 0.003906/0.716, allocations: 2.48 MB / 0.7212 GB, free: 69.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.716, allocations: 175.9 kB / 0.7213 GB, free: 69.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.7195, allocations: 3.169 MB / 0.7244 GB, free: 68.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.7196, allocations: 30.98 kB / 0.7245 GB, free: 68.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.7208, allocations: 3.268 MB / 0.7276 GB, free: 65.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.7212, allocations: 0.6925 MB / 0.7283 GB, free: 65.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.7214, allocations: 3.094 kB / 0.7283 GB, free: 65.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003244/0.7217, allocations: 0.6685 MB / 0.729 GB, free: 64.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.7239, allocations: 1.96 MB / 0.7309 GB, free: 64.33 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/0.7275, allocations: 6.503 MB / 0.7372 GB, free: 57.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.7308, allocations: 3.687 MB / 0.7408 GB, free: 54.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.015e-05/0.7309, allocations: 48 kB / 0.7409 GB, free: 54.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.008025/0.7389, allocations: 7.306 MB / 0.748 GB, free: 47.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7389, allocations: 7.703 kB / 0.748 GB, free: 47.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.64e-05/0.739, allocations: 164 kB / 0.7482 GB, free: 47.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.7392, allocations: 240 kB / 0.7484 GB, free: 47.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/0.7429, allocations: 1.604 MB / 0.75 GB, free: 45.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001221/0.743, allocations: 316.6 kB / 0.7503 GB, free: 45.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.7466, allocations: 0.8059 MB / 0.7511 GB, free: 44.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.747, allocations: 439.9 kB / 0.7515 GB, free: 44.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (880): * Single equations (assignments): 874 * Array equations: 6 * 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.0004678/0.7474, allocations: 488.5 kB / 0.752 GB, free: 43.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.7478, allocations: 311.9 kB / 0.7523 GB, free: 43.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.7499, allocations: 1.929 MB / 0.7541 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/0.7499, allocations: 35.8 kB / 0.7542 GB, free: 41.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.7499, allocations: 3.891 kB / 0.7542 GB, free: 41.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.75, allocations: 11.89 kB / 0.7542 GB, free: 41.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.7574, allocations: 5.953 MB / 0.76 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.7574, allocations: 8 kB / 0.76 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.7584, allocations: 232.3 kB / 0.7602 GB, free: 36.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.7584, allocations: 12 kB / 0.7602 GB, free: 36.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.7585, allocations: 18.75 kB / 0.7603 GB, free: 36.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.7585, allocations: 17.48 kB / 0.7603 GB, free: 36.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.7585, allocations: 20.78 kB / 0.7603 GB, free: 36.34 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002572/0.7611, allocations: 3.659 MB / 0.7639 GB, free: 32.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.7616, allocations: 382.9 kB / 0.7642 GB, free: 32.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/0.762, allocations: 15.42 kB / 0.7642 GB, free: 32.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.7629, allocations: 29.98 kB / 0.7643 GB, free: 32.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.7631, allocations: 90 kB / 0.7644 GB, free: 32.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.7632, allocations: 57.72 kB / 0.7644 GB, free: 32.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002482/0.7657, allocations: 2.082 MB / 0.7665 GB, free: 30.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004156/0.7699, allocations: 1.024 MB / 0.7675 GB, free: 29.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * 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.0002854/0.7701, allocations: 150.7 kB / 0.7676 GB, free: 29.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005024/0.7752, allocations: 4.532 MB / 0.772 GB, free: 24.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7752, allocations: 4 kB / 0.772 GB, free: 24.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.7762, allocations: 1.07 MB / 0.7731 GB, free: 23.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.7773, allocations: 256.4 kB / 0.7733 GB, free: 23.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.7882, allocations: 7.485 MB / 0.7806 GB, free: 16.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00349/0.7917, allocations: 3.666 MB / 0.7842 GB, free: 13.33 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7917, allocations: 0 / 0.7842 GB, free: 13.33 MB / 474.7 MB Notification: Performance of Templates: time 0.04789/0.8396, allocations: 28.75 MB / 0.8123 GB, free: 1.344 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches