Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") [: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 trunk/package.mo): time 0.001084/0.001084, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008851/0.0008851, allocations: 89.89 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.552e-06, allocations: 0 / 343.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 51.49 MB / 394.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/0.378, allocations: 77.37 MB / 472 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.3783, allocations: 58.84 kB / 472 MB, free: 14.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00975/0.3881, allocations: 3.937 MB / 476 MB, free: 11.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.3881, allocations: 8 kB / 476 MB, free: 11.96 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005609/0.3887, allocations: 482.7 kB / 476.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3888, allocations: 10.94 kB / 476.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.3888, allocations: 31.62 kB / 476.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3891, allocations: 231.9 kB / 476.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3891, allocations: 8 kB / 476.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.3891, allocations: 18.64 kB / 476.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002453/0.3894, allocations: 136.3 kB / 476.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.3897, allocations: 199.2 kB / 477.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3897, allocations: 8.781 kB / 477.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3897, allocations: 0 / 477.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3897, allocations: 4 kB / 477.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.3906, allocations: 0.7543 MB / 477.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.3908, allocations: 204 kB / 478.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.391, allocations: 124.9 kB / 478.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3911, allocations: 8 kB / 478.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3911, allocations: 38.62 kB / 478.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.3911, allocations: 0 / 478.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.001914/0.393, allocations: 1.722 MB / 479.9 MB, free: 8.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3931, allocations: 106.8 kB / 480 MB, free: 8.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3932, allocations: 140.3 kB / 480.2 MB, free: 8.074 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3932, allocations: 25.7 kB / 480.2 MB, free: 8.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.3933, allocations: 133.4 kB / 480.3 MB, free: 7.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.3933, allocations: 156.2 kB / 480.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.3934, allocations: 0 / 480.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.3934, allocations: 335.9 kB / 480.8 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3936, allocations: 75.38 kB / 480.9 MB, free: 7.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.3937, allocations: 142.2 kB / 481 MB, free: 7.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3939, allocations: 108 kB / 481.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3939, allocations: 0 / 481.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003888/0.3943, allocations: 293.5 kB / 481.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3943, allocations: 7.438 kB / 481.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3943, allocations: 7.328 kB / 481.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3944, allocations: 4 kB / 481.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.3947, allocations: 89.95 kB / 481.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3947, allocations: 11.94 kB / 481.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3948, allocations: 4 kB / 481.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.3949, allocations: 11.19 kB / 481.6 MB, free: 6.945 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 7.011e-05/0.3949, allocations: 115.4 kB / 481.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.395, allocations: 27.62 kB / 481.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.3951, allocations: 31.88 kB / 481.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3951, allocations: 5.188 kB / 481.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3951, allocations: 4 kB / 481.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3951, allocations: 8.031 kB / 481.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3962, allocations: 0.9752 MB / 482.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3962, allocations: 8.188 kB / 482.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.3966, allocations: 90.73 kB / 482.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.3966, allocations: 4 kB / 482.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.3967, allocations: 8.609 kB / 482.8 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.3967, allocations: 9.344 kB / 482.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3967, allocations: 4 kB / 482.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005798/0.3973, allocations: 0.7968 MB / 483.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.3973, allocations: 102.2 kB / 483.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.3974, allocations: 6.125 kB / 483.7 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3976, allocations: 0 / 483.7 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3976, allocations: 31.94 kB / 483.8 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3977, allocations: 12 kB / 483.8 MB, free: 4.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.467e-05/0.3977, allocations: 116.8 kB / 483.9 MB, free: 4.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.3981, allocations: 64 kB / 484 MB, free: 4.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001387/0.3983, allocations: 104.7 kB / 484.1 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.3986, allocations: 233.4 kB / 484.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3986, allocations: 0 / 484.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3987, allocations: 130.2 kB / 484.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.3992, allocations: 50.78 kB / 484.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4003, allocations: 0.757 MB / 485.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.4005, allocations: 0.8083 MB / 486 MB, free: 2.871 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4005, allocations: 1.688 kB / 486 MB, free: 2.871 MB / 346.7 MB Notification: Performance of Templates: time 0.005114/0.4057, allocations: 2.77 MB / 488.8 MB, free: 176 kB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches