Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.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) 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(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_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.00164/0.001639, allocations: 179.7 kB / 8.153 MB, free: 2.207 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.74/1.74, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.001322/0.001321, allocations: 95.17 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.839e-06/1.002e-05, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2427, allocations: 47.55 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.36, allocations: 75.35 MB / 437.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.3603, allocations: 63.97 kB / 437.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01676/0.3771, allocations: 3.817 MB / 441.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.3771, allocations: 8 kB / 441.1 MB, free: 6.887 MB / 330.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.0009108/0.3781, allocations: 481.2 kB / 441.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3781, allocations: 15.41 kB / 441.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.092e-05/0.3782, allocations: 27.62 kB / 441.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.3786, allocations: 235.4 kB / 441.8 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3786, allocations: 8 kB / 441.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.3787, allocations: 22.05 kB / 441.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004631/0.3792, allocations: 133 kB / 442 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.3797, allocations: 205.6 kB / 442.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.3797, allocations: 7.906 kB / 442.2 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.3798, allocations: 0 / 442.2 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3798, allocations: 8 kB / 442.2 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.3813, allocations: 0.7468 MB / 442.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.3819, allocations: 212.5 kB / 443.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.3822, allocations: 118.6 kB / 443.3 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3823, allocations: 8 kB / 443.3 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3823, allocations: 38.56 kB / 443.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 5.11e-06/0.3823, allocations: 0 / 443.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.0034/0.3858, allocations: 1.733 MB / 445 MB, free: 2.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.3859, allocations: 110.8 kB / 445.1 MB, free: 2.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.3861, allocations: 141.6 kB / 445.3 MB, free: 2.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3861, allocations: 25.7 kB / 445.3 MB, free: 2.184 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3862, allocations: 191 kB / 445.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.3864, allocations: 153.7 kB / 445.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.3864, allocations: 0 / 445.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3866, allocations: 330.8 kB / 446 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.3868, allocations: 72.88 kB / 446 MB, free: 1.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.3871, allocations: 138.9 kB / 446.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3875, allocations: 108 kB / 446.3 MB, free: 1.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.3875, allocations: 4 kB / 446.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007586/0.3883, allocations: 280.5 kB / 446.6 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3883, allocations: 11.98 kB / 446.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3883, allocations: 2.625 kB / 446.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.3884, allocations: 4.094 kB / 446.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.3891, allocations: 99.84 kB / 446.7 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.3891, allocations: 4 kB / 446.7 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.3893, allocations: 1.25 kB / 446.7 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.3894, allocations: 16 kB / 446.7 MB, free: 0.7656 MB / 330.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 0.0001064/0.3895, allocations: 37.56 kB / 446.7 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.3896, allocations: 35.69 kB / 446.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.3898, allocations: 25.59 kB / 446.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3898, allocations: 7.906 kB / 446.8 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3898, allocations: 4 kB / 446.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3899, allocations: 3.984 kB / 446.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.392, allocations: 0.9614 MB / 447.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.392, allocations: 8.031 kB / 447.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.3928, allocations: 95.83 kB / 447.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.3929, allocations: 6.812 kB / 447.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3929, allocations: 7.906 kB / 447.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.3929, allocations: 4 kB / 447.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3929, allocations: 4 kB / 447.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001254/0.3942, allocations: 0.8025 MB / 448.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3943, allocations: 101.5 kB / 448.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.3944, allocations: 4 kB / 448.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.3948, allocations: 4 kB / 448.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.3948, allocations: 27.91 kB / 448.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.3949, allocations: 19.98 kB / 448.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001304/0.395, allocations: 124.3 kB / 449 MB, free: 14.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.3956, allocations: 56 kB / 449 MB, free: 14.23 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.0001791/0.3958, allocations: 102 kB / 449.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006673/0.3965, allocations: 244.7 kB / 449.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3965, allocations: 0 / 449.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.3968, allocations: 132.5 kB / 449.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.3976, allocations: 46.73 kB / 449.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.3996, allocations: 0.7727 MB / 450.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005932/0.4003, allocations: 0.8031 MB / 451.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4003, allocations: 0 / 451.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of Templates: time 0.008368/0.4087, allocations: 3.283 MB / 454.4 MB, free: 8.801 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches