Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.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.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring") [: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.001675/0.001675, allocations: 176 kB / 8.146 MB, free: 2.066 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.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001289, allocations: 83.61 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.262/0.262, allocations: 43.48 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.476e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2686, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.4471, allocations: 104 MB / 0.567 GB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4475, allocations: 67.97 kB / 0.567 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5415/0.989, allocations: 83.7 MB / 0.6488 GB, free: 106.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002386/0.9893, allocations: 78.84 kB / 0.6488 GB, free: 106.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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01402/1.003, allocations: 3.924 MB / 0.6527 GB, free: 105.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.003, allocations: 10.31 kB / 0.6527 GB, free: 105.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/1.021, allocations: 1.978 MB / 0.6546 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/1.04, allocations: 5.235 MB / 0.6597 GB, free: 104.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/1.04, allocations: 141.7 kB / 0.6599 GB, free: 104.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/1.042, allocations: 253.9 kB / 0.6601 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01659/1.059, allocations: 6.389 MB / 0.6663 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/1.083, allocations: 9.665 MB / 0.6758 GB, free: 101.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002597/1.084, allocations: 69.38 kB / 0.6758 GB, free: 101.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/1.085, allocations: 35.2 kB / 0.6759 GB, free: 101.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002527/1.088, allocations: 1.112 MB / 0.677 GB, free: 101.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07339/1.161, allocations: 48.06 MB / 0.7239 GB, free: 63.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/1.166, allocations: 1.91 MB / 0.7258 GB, free: 62.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002587/1.168, allocations: 1.056 MB / 0.7268 GB, free: 62.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/1.18, allocations: 5.183 MB / 0.7319 GB, free: 58.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/1.18, allocations: 49.38 kB / 0.7319 GB, free: 58.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=148): time 5.621e-06/1.18, allocations: 4 kB / 0.7319 GB, free: 58.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.02786/1.208, allocations: 7.969 MB / 0.7397 GB, free: 54.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/1.208, allocations: 196 kB / 0.7399 GB, free: 54.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00749/1.216, allocations: 3.121 MB / 0.7429 GB, free: 53.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002992/1.216, allocations: 29.7 kB / 0.743 GB, free: 53.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/1.218, allocations: 3.006 MB / 0.7459 GB, free: 50.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008152/1.219, allocations: 0.6183 MB / 0.7465 GB, free: 49.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/1.219, allocations: 3.938 kB / 0.7465 GB, free: 49.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003654/1.22, allocations: 0.5712 MB / 0.7471 GB, free: 49.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006647/1.226, allocations: 1.523 MB / 0.7485 GB, free: 47.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009404/1.236, allocations: 5.464 MB / 0.7539 GB, free: 40.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006701/1.243, allocations: 2.905 MB / 0.7567 GB, free: 38.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.243, allocations: 40 kB / 0.7567 GB, free: 38.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01578/1.258, allocations: 5.929 MB / 0.7625 GB, free: 32.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.259, allocations: 8 kB / 0.7625 GB, free: 32.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/1.259, allocations: 143.9 kB / 0.7627 GB, free: 32.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/1.259, allocations: 208 kB / 0.7629 GB, free: 32.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009109/1.268, allocations: 1.482 MB / 0.7643 GB, free: 31.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002063/1.268, allocations: 273.9 kB / 0.7646 GB, free: 30.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00826/1.277, allocations: 218.6 kB / 0.7648 GB, free: 30.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.278, allocations: 382.7 kB / 0.7652 GB, free: 30.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (787): * Single equations (assignments): 784 * 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.001495/1.28, allocations: 377.4 kB / 0.7655 GB, free: 30.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.281, allocations: 324.4 kB / 0.7658 GB, free: 29.72 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/1.286, allocations: 1.24 MB / 0.767 GB, free: 28.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.413e-05/1.286, allocations: 12 kB / 0.7671 GB, free: 28.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.286, allocations: 0 / 0.7671 GB, free: 28.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/1.286, allocations: 14.36 kB / 0.7671 GB, free: 28.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.305, allocations: 4.804 MB / 0.7718 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/1.305, allocations: 23.94 kB / 0.7718 GB, free: 24.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/1.308, allocations: 278.7 kB / 0.772 GB, free: 24.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.792e-05/1.308, allocations: 28 kB / 0.7721 GB, free: 24.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/1.308, allocations: 29.64 kB / 0.7721 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.176e-05/1.308, allocations: 35.86 kB / 0.7721 GB, free: 24.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.722e-05/1.308, allocations: 28.31 kB / 0.7722 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008258/1.317, allocations: 5.071 MB / 0.7771 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/1.319, allocations: 0.4969 MB / 0.7776 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.32, allocations: 28.45 kB / 0.7776 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003826/1.324, allocations: 61.97 kB / 0.7777 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/1.324, allocations: 135 kB / 0.7778 GB, free: 17.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.325, allocations: 68.81 kB / 0.7779 GB, free: 17.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007194/1.332, allocations: 2.061 MB / 0.7799 GB, free: 16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01037/1.342, allocations: 0.7791 MB / 0.7807 GB, free: 15.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * 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.0008185/1.343, allocations: 187.2 kB / 0.7808 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009184/1.352, allocations: 3.495 MB / 0.7842 GB, free: 11.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/1.352, allocations: 3.344 kB / 0.7843 GB, free: 11.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.354, allocations: 0.7145 MB / 0.7849 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/1.357, allocations: 356.7 kB / 0.7853 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/1.379, allocations: 7.649 MB / 0.7928 GB, free: 3.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008878/1.388, allocations: 3.553 MB / 0.7962 GB, free: 15.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.674e-06/1.388, allocations: 0 / 0.7962 GB, free: 15.95 MB / 490.7 MB Notification: Performance of Templates: time 0.2706/1.659, allocations: 49.94 MB / 0.845 GB, free: 170.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches