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.001068/0.001068, allocations: 75.77 kB / 22.46 MB, free: 2.09 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.001053/0.001053, allocations: 160.1 kB / 25.75 MB, free: 8.938 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 0.9245/0.9245, allocations: 158.6 MB / 187.6 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] 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.402e-06/1.402e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.616e-05, allocations: 9.266 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002951/0.002977, allocations: 2.398 MB / 253.5 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005508/0.003528, allocations: 227.1 kB / 253.7 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.003644, allocations: 11.94 kB / 253.7 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003773, allocations: 47.56 kB / 253.8 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.003895, allocations: 87.2 kB / 253.9 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.004053, allocations: 59.91 kB / 253.9 MB, free: 4.965 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.004296, allocations: 306.4 kB / 254.2 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.004458, allocations: 66.05 kB / 254.3 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.004666, allocations: 167.6 kB / 254.4 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004787, allocations: 91.75 kB / 254.5 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.004823, allocations: 20 kB / 254.6 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.458e-05/0.004847, allocations: 28 kB / 254.6 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.004886, allocations: 51.77 kB / 254.6 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.004966, allocations: 95.8 kB / 254.7 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.005196, allocations: 191.2 kB / 254.9 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005198, allocations: 0 / 254.9 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005199, allocations: 0 / 254.9 MB, free: 3.965 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.005203, allocations: 0 / 254.9 MB, free: 3.965 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.0006092/0.005812, allocations: 0.5701 MB / 255.5 MB, free: 3.355 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.005846, allocations: 11.98 kB / 255.5 MB, free: 3.344 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.654e-05/0.005913, allocations: 52.75 kB / 255.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.006126, allocations: 192.9 kB / 255.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.006143, allocations: 20.88 kB / 255.8 MB, free: 3.055 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.006181, allocations: 24.38 kB / 255.8 MB, free: 3.031 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.00643, allocations: 211.5 kB / 256 MB, free: 2.805 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.006446, allocations: 4.141 kB / 256 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.006465, allocations: 12.38 kB / 256 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.006477, allocations: 12.38 kB / 256 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.00663, allocations: 107.7 kB / 256.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.007315, allocations: 0.7861 MB / 256.9 MB, free: 1.84 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.007816, allocations: 237.2 kB / 257.1 MB, free: 1.566 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.007961, allocations: 99.02 kB / 257.2 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.007981, allocations: 19.86 kB / 257.3 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.008009, allocations: 53.58 kB / 257.3 MB, free: 1.375 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.00801, allocations: 3.938 kB / 257.3 MB, free: 1.371 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001564/0.009574, allocations: 1.4 MB / 258.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.009622, allocations: 106.8 kB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.009742, allocations: 225.8 kB / 259 MB, free: 15.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.00976, allocations: 37.7 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.009839, allocations: 191.5 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.009931, allocations: 174.4 kB / 259.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.01001, allocations: 75.86 kB / 259.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.01018, allocations: 0.5079 MB / 260 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.01032, allocations: 52.95 kB / 260.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.01052, allocations: 142.8 kB / 260.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008162/0.01134, allocations: 217.6 kB / 260.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.01135, allocations: 4 kB / 260.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005198/0.01186, allocations: 285.2 kB / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.01189, allocations: 15.27 kB / 260.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01189, allocations: 0 / 260.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01191, allocations: 4 kB / 260.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.01223, allocations: 91.84 kB / 260.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.01225, allocations: 7.938 kB / 260.8 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.01235, allocations: 8 kB / 260.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.01237, allocations: 16 kB / 260.8 MB, free: 13.54 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.0001441/0.01252, allocations: 180.6 kB / 261 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.01262, allocations: 47.81 kB / 261.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.01269, allocations: 33.81 kB / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.0127, allocations: 4 kB / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.01271, allocations: 4 kB / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.01272, allocations: 11.86 kB / 261.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.01362, allocations: 1.036 MB / 262.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01363, allocations: 0 / 262.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.01385, allocations: 91.89 kB / 262.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.01385, allocations: 4 kB / 262.2 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.01388, allocations: 8 kB / 262.3 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.01389, allocations: 11.94 kB / 262.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01389, allocations: 0 / 262.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.01451, allocations: 0.7943 MB / 263.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.01454, allocations: 23.86 kB / 263.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01457, allocations: 12 kB / 263.1 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.01468, allocations: 8 kB / 263.1 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.01472, allocations: 39.81 kB / 263.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01473, allocations: 16 kB / 263.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.01479, allocations: 160.2 kB / 263.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01479, allocations: 4 kB / 263.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000273/0.01506, allocations: 68 kB / 263.4 MB, free: 10.84 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 9.027e-05/0.01515, allocations: 113.4 kB / 263.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01541, allocations: 216.8 kB / 263.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01542, allocations: 0 / 263.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01554, allocations: 135.4 kB / 263.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.01597, allocations: 74.08 kB / 263.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.01682, allocations: 0.7843 MB / 264.7 MB, free: 9.441 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.01689, allocations: 97.28 kB / 264.8 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.01696, allocations: 34.95 kB / 264.8 MB, free: 9.289 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.01702, allocations: 28.5 kB / 264.8 MB, free: 9.262 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01702, allocations: 0 / 264.8 MB, free: 9.262 MB / 250.7 MB Notification: Performance of Templates: time 0.005363/0.02238, allocations: 2.942 MB / 267.8 MB, free: 6.348 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.77172385295853]