Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [: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 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 186.7 kB / 8.138 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.4 MB / 229.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009796/0.0009795, allocations: 92.42 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.153e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2314, allocations: 50.4 MB / 386.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09124/0.3227, allocations: 77.43 MB / 464.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.323, allocations: 75.89 kB / 464.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01057/0.3336, allocations: 3.579 MB / 468 MB, free: 5.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3336, allocations: 8 kB / 468 MB, free: 5.785 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006397/0.3343, allocations: 482.2 kB / 468.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3343, allocations: 8.031 kB / 468.5 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.3344, allocations: 27.72 kB / 468.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3346, allocations: 228.1 kB / 468.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3347, allocations: 8 kB / 468.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.3347, allocations: 12 kB / 468.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002465/0.335, allocations: 112.9 kB / 468.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.3353, allocations: 172.5 kB / 469 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3353, allocations: 3.906 kB / 469 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3353, allocations: 0 / 469 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3353, allocations: 4 kB / 469 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3365, allocations: 0.7637 MB / 469.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3367, allocations: 131.4 kB / 469.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3369, allocations: 92.12 kB / 470 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3369, allocations: 0 / 470 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.337, allocations: 50.48 kB / 470.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.784e-06/0.337, allocations: 0 / 470.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.00119/0.3382, allocations: 0.7122 MB / 470.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3382, allocations: 81.11 kB / 470.9 MB, free: 2.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3384, allocations: 138 kB / 471 MB, free: 2.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.3384, allocations: 26.14 kB / 471 MB, free: 2.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.3385, allocations: 128.3 kB / 471.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.3385, allocations: 90.66 kB / 471.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3386, allocations: 0 / 471.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3387, allocations: 334.8 kB / 471.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.3388, allocations: 48 kB / 471.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.339, allocations: 93.42 kB / 471.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3391, allocations: 70.89 kB / 471.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3391, allocations: 0 / 471.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003147/0.3394, allocations: 197.3 kB / 472 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3394, allocations: 5.031 kB / 472 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3394, allocations: 0 / 472 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3395, allocations: 4 kB / 472 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.3398, allocations: 65.62 kB / 472 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3398, allocations: 4 kB / 472 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.3399, allocations: 15.89 kB / 472.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3399, allocations: 8 kB / 472.1 MB, free: 1.398 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * 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.0001125/0.3401, allocations: 108.9 kB / 472.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3401, allocations: 15.81 kB / 472.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.3402, allocations: 25.59 kB / 472.2 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3402, allocations: 7.906 kB / 472.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3402, allocations: 0.8438 kB / 472.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3402, allocations: 3.984 kB / 472.2 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.341, allocations: 0.5277 MB / 472.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.341, allocations: 0 / 472.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.3413, allocations: 63.91 kB / 472.8 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3413, allocations: 4 kB / 472.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3414, allocations: 0.5625 kB / 472.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3414, allocations: 4 kB / 472.8 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3414, allocations: 0 / 472.8 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000536/0.3419, allocations: 496.6 kB / 473.3 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.342, allocations: 96.92 kB / 473.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3421, allocations: 4.656 kB / 473.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3422, allocations: 11.98 kB / 473.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.3423, allocations: 11.98 kB / 473.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3423, allocations: 11.98 kB / 473.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.533e-05/0.3424, allocations: 111.3 kB / 473.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.3428, allocations: 48 kB / 473.6 MB, free: 15.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * 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.0001624/0.3429, allocations: 103.9 kB / 473.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.3432, allocations: 154.3 kB / 473.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3432, allocations: 0 / 473.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3434, allocations: 75.94 kB / 473.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3437, allocations: 28.28 kB / 473.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3448, allocations: 0.5041 MB / 474.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.3452, allocations: 0.7785 MB / 475.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3452, allocations: 0 / 475.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Templates: time 0.00482/0.35, allocations: 1.959 MB / 477.2 MB, free: 12.12 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches