Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 165.6 kB / 25.03 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 250.3 MB, free: 7.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.497e-05, allocations: 2.312 kB / 250.4 MB, free: 7.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004148/0.004183, allocations: 2.375 MB / 252.7 MB, free: 5.555 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.004915, allocations: 243 kB / 253 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.005057, allocations: 7.938 kB / 253 MB, free: 5.309 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.005237, allocations: 35.64 kB / 253 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.005453, allocations: 91.14 kB / 253.1 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.005677, allocations: 63.83 kB / 253.2 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.006093, allocations: 314.4 kB / 253.5 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.006296, allocations: 62.06 kB / 253.5 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.006553, allocations: 167.7 kB / 253.7 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.006766, allocations: 91.69 kB / 253.8 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.00682, allocations: 24 kB / 253.8 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-05/0.006871, allocations: 24 kB / 253.8 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.006929, allocations: 43.83 kB / 253.9 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.007059, allocations: 95.77 kB / 254 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.007517, allocations: 299 kB / 254.3 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.007523, allocations: 0 / 254.3 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.007525, allocations: 4 kB / 254.3 MB, free: 4.016 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.007533, allocations: 0 / 254.3 MB, free: 4.016 MB / 234.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.0009894/0.008523, allocations: 0.5815 MB / 254.8 MB, free: 3.395 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.008567, allocations: 11.98 kB / 254.9 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.008676, allocations: 52.75 kB / 254.9 MB, free: 3.332 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.009016, allocations: 196.8 kB / 255.1 MB, free: 3.109 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.009043, allocations: 20.88 kB / 255.1 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.009095, allocations: 24.38 kB / 255.1 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.009555, allocations: 251.5 kB / 255.4 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.009581, allocations: 12.12 kB / 255.4 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.009604, allocations: 4.375 kB / 255.4 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.009623, allocations: 8.375 kB / 255.4 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.009935, allocations: 155.8 kB / 255.6 MB, free: 2.625 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.01133, allocations: 0.8563 MB / 256.4 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.012, allocations: 313.1 kB / 256.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.0123, allocations: 131 kB / 256.9 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.01233, allocations: 7.938 kB / 256.9 MB, free: 1.227 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.01237, allocations: 45.38 kB / 256.9 MB, free: 1.172 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.01237, allocations: 3.938 kB / 256.9 MB, free: 1.168 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.002992/0.01537, allocations: 1.575 MB / 258.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.01545, allocations: 110.9 kB / 258.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.0157, allocations: 249.7 kB / 258.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.01573, allocations: 37.7 kB / 258.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.01589, allocations: 195.5 kB / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.01606, allocations: 174.5 kB / 259.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.01622, allocations: 91.81 kB / 259.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003116/0.01653, allocations: 0.5196 MB / 259.8 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.0167, allocations: 96.95 kB / 259.9 MB, free: 13.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.01698, allocations: 190.7 kB / 260.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.01747, allocations: 313.5 kB / 260.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01747, allocations: 0 / 260.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005923/0.01806, allocations: 369.1 kB / 260.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.01808, allocations: 4 kB / 260.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.01809, allocations: 4 kB / 260.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01811, allocations: 8.094 kB / 260.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.01845, allocations: 83.91 kB / 260.9 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.01847, allocations: 7.938 kB / 260.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.01857, allocations: 15.98 kB / 260.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.0186, allocations: 16 kB / 260.9 MB, free: 12.84 MB / 250.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.0188, allocations: 200.4 kB / 261.1 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.0189, allocations: 43.81 kB / 261.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.01901, allocations: 33.81 kB / 261.2 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.01902, allocations: 4 kB / 261.2 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.01903, allocations: 4 kB / 261.2 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.01904, allocations: 11.92 kB / 261.2 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.02072, allocations: 1.152 MB / 262.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.02073, allocations: 4 kB / 262.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.02112, allocations: 92.11 kB / 262.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.02113, allocations: 8 kB / 262.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.02115, allocations: 12 kB / 262.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.02116, allocations: 4 kB / 262.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.02117, allocations: 7.938 kB / 262.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.02226, allocations: 0.8954 MB / 263.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.02231, allocations: 23.86 kB / 263.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.02235, allocations: 12 kB / 263.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.02255, allocations: 12 kB / 263.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.02263, allocations: 39.88 kB / 263.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.02265, allocations: 12 kB / 263.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.02282, allocations: 172.2 kB / 263.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02282, allocations: 4 kB / 263.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004626/0.02329, allocations: 71.94 kB / 263.7 MB, free: 9.883 MB / 250.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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.02344, allocations: 111.1 kB / 263.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.02397, allocations: 284.8 kB / 264.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02398, allocations: 192 / 264.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.02423, allocations: 171.8 kB / 264.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.02493, allocations: 69.27 kB / 264.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.02639, allocations: 0.8334 MB / 265.2 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.02658, allocations: 159.8 kB / 265.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.0267, allocations: 30.97 kB / 265.4 MB, free: 8.129 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.02677, allocations: 28.5 kB / 265.4 MB, free: 8.102 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02677, allocations: 0 / 265.4 MB, free: 8.102 MB / 250.7 MB Notification: Performance of Templates: time 0.00779/0.03456, allocations: 2.956 MB / 268.4 MB, free: 5.18 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.325164258014411]