Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 148.2 kB / 24.8 MB, free: 9.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.011/1.011, allocations: 173.3 MB / 201.4 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.353e-05, allocations: 2.312 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.006189/0.006212, allocations: 2.39 MB / 270.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.006716, allocations: 243 kB / 271 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.006828, allocations: 11.88 kB / 271 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.006959, allocations: 43.58 kB / 271.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.007104, allocations: 91.2 kB / 271.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.01028, allocations: 55.92 kB / 271.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.01055, allocations: 298.4 kB / 271.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.01071, allocations: 66.05 kB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.01089, allocations: 171.6 kB / 271.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.01103, allocations: 87.72 kB / 271.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.01106, allocations: 24 kB / 271.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.634e-05/0.0111, allocations: 27.94 kB / 271.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.01114, allocations: 55.8 kB / 271.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.01123, allocations: 91.77 kB / 272 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.01145, allocations: 187.3 kB / 272.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01145, allocations: 0 / 272.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01146, allocations: 0 / 272.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.01146, allocations: 0 / 272.2 MB, free: 2.363 MB / 250.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.0005558/0.01201, allocations: 0.5779 MB / 272.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01205, allocations: 12.92 kB / 272.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.0121, allocations: 48.75 kB / 272.8 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.01229, allocations: 188.9 kB / 273 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.0123, allocations: 20.88 kB / 273 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.01234, allocations: 28.33 kB / 273.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.01252, allocations: 199.4 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01254, allocations: 4.188 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.01255, allocations: 16.36 kB / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01256, allocations: 4.375 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.01266, allocations: 90.58 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.01335, allocations: 0.7592 MB / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.01371, allocations: 224.5 kB / 274.4 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.01387, allocations: 91.02 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.01389, allocations: 11.98 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.01393, allocations: 49.25 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.01393, allocations: 4 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001815/0.01575, allocations: 1.259 MB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.0158, allocations: 110.8 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.01594, allocations: 217.8 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01596, allocations: 37.7 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01606, allocations: 187.5 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.01618, allocations: 170.5 kB / 276.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.01628, allocations: 75.83 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01644, allocations: 0.5156 MB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.01652, allocations: 40.95 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.01665, allocations: 130.7 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.0169, allocations: 219.4 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0169, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000367/0.01727, allocations: 257.2 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.01729, allocations: 8 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.0173, allocations: 4 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.01732, allocations: 7.984 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.0176, allocations: 91.91 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01761, allocations: 7.938 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.0177, allocations: 12.03 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.01772, allocations: 12 kB / 277.8 MB, free: 12.24 MB / 266.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.0001175/0.01783, allocations: 176.5 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.01793, allocations: 43.84 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.018, allocations: 33.81 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.01801, allocations: 11.94 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01801, allocations: 0 / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.01802, allocations: 3.984 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.01914, allocations: 0.9848 MB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.01915, allocations: 0 / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.01945, allocations: 91.89 kB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.01945, allocations: 4 kB / 279.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.01947, allocations: 8 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.01948, allocations: 12.22 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01949, allocations: 4 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.02013, allocations: 0.7585 MB / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.02017, allocations: 19.86 kB / 280 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.0202, allocations: 16 kB / 280 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.0204, allocations: 8 kB / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.02045, allocations: 43.75 kB / 280 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.02047, allocations: 12 kB / 280.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.02054, allocations: 156.2 kB / 280.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02054, allocations: 0 / 280.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004692/0.02101, allocations: 80 kB / 280.3 MB, free: 9.641 MB / 266.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.0001264/0.02113, allocations: 107.1 kB / 280.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002872/0.02142, allocations: 196.3 kB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.02142, allocations: 0 / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.02156, allocations: 109 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.02227, allocations: 80.44 kB / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.02341, allocations: 0.7761 MB / 281.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.02352, allocations: 101.2 kB / 281.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.02364, allocations: 30.97 kB / 281.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.02383, allocations: 138.2 kB / 281.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02383, allocations: 0 / 281.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of Templates: time 0.007128/0.03096, allocations: 3.244 MB / 285.1 MB, free: 4.832 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.7514245458878577]