Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001005/0.001005, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001162/0.001162, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9969/0.9969, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.494e-05, allocations: 6.25 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00612/0.006145, allocations: 2.432 MB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006874/0.006832, allocations: 243.1 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.006953, allocations: 7.938 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.007103, allocations: 43.52 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.007257, allocations: 91.2 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.01047, allocations: 59.84 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.01083, allocations: 306.4 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.01101, allocations: 66.89 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.0112, allocations: 167.7 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.01134, allocations: 91.64 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.01139, allocations: 24 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.612e-05/0.01142, allocations: 24 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.01147, allocations: 47.81 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.01155, allocations: 99.75 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.01187, allocations: 183.3 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01187, allocations: 4 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01187, allocations: 0 / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.01188, allocations: 0 / 276.8 MB, free: 13.68 MB / 266.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.0006318/0.01251, allocations: 0.5701 MB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.01254, allocations: 8.031 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/0.01262, allocations: 56.75 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.01286, allocations: 188.9 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.01288, allocations: 16.88 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.01293, allocations: 24.38 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.01323, allocations: 211.6 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.01325, allocations: 4.188 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.01327, allocations: 8.375 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003008/0.01628, allocations: 4.375 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.01652, allocations: 118.2 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01755, allocations: 0.7899 MB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.01792, allocations: 245.2 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.01808, allocations: 102.6 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.0181, allocations: 7.938 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.01813, allocations: 45.33 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.01813, allocations: 0 / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001875/0.02, allocations: 1.401 MB / 280.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.02006, allocations: 110.8 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.02021, allocations: 229.7 kB / 280.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.02024, allocations: 33.7 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.02033, allocations: 191.5 kB / 281.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.02044, allocations: 162.6 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.02055, allocations: 87.8 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.02072, allocations: 0.5079 MB / 281.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.02119, allocations: 56.91 kB / 282 MB, free: 8.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.02131, allocations: 134.8 kB / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.02153, allocations: 235.9 kB / 282.3 MB, free: 7.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02153, allocations: 4 kB / 282.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002952/0.02182, allocations: 285.2 kB / 282.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.02184, allocations: 8.094 kB / 282.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.02185, allocations: 4 kB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.02186, allocations: 4 kB / 282.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.02206, allocations: 95.83 kB / 282.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.02207, allocations: 7.938 kB / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.02213, allocations: 12 kB / 282.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.02214, allocations: 16 kB / 282.7 MB, free: 7.262 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 9.769e-05/0.02224, allocations: 176.5 kB / 282.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.0223, allocations: 47.81 kB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.02235, allocations: 37.8 kB / 283 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.02235, allocations: 4 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.02236, allocations: 0 / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.02236, allocations: 7.938 kB / 283 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/0.02331, allocations: 1.031 MB / 284 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.02332, allocations: 12.27 kB / 284.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.02353, allocations: 83.91 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.02353, allocations: 4 kB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.02355, allocations: 12 kB / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.02356, allocations: 11.92 kB / 284.2 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.02356, allocations: 4 kB / 284.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.02408, allocations: 0.7897 MB / 285 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.0241, allocations: 19.86 kB / 285 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.02413, allocations: 19.98 kB / 285 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02423, allocations: 12 kB / 285 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.02427, allocations: 35.83 kB / 285 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.02429, allocations: 16.05 kB / 285.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.02436, allocations: 156.2 kB / 285.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02436, allocations: 3.938 kB / 285.2 MB, free: 4.629 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.02464, allocations: 75.98 kB / 285.3 MB, free: 4.555 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.0001209/0.02476, allocations: 111.1 kB / 285.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.02505, allocations: 220.3 kB / 285.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.02506, allocations: 0 / 285.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.02517, allocations: 119.4 kB / 285.7 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.02561, allocations: 64.72 kB / 285.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.02648, allocations: 0.7804 MB / 286.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.387e-05/0.02655, allocations: 97.28 kB / 286.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.673e-05/0.02664, allocations: 38.94 kB / 286.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.0267, allocations: 28.5 kB / 286.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of SimCode: time 1.383e-06/0.0267, allocations: 0 / 286.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of Templates: time 0.005707/0.03241, allocations: 3.12 MB / 289.9 MB, free: 15.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7151146084070206]