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.001089/0.001089, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001174/0.001174, allocations: 171.1 kB / 25.33 MB, free: 8.75 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.9169/0.9169, allocations: 158.6 MB / 187.2 MB, free: 2.406 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 2.043e-06/2.043e-06, allocations: 0 / 251 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.952e-05, allocations: 6.312 kB / 251 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.006645/0.006674, allocations: 2.393 MB / 253.4 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.007545, allocations: 239.1 kB / 253.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.007736, allocations: 4 kB / 253.7 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.007923, allocations: 43.58 kB / 253.7 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.008149, allocations: 95.14 kB / 253.8 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.008384, allocations: 63.89 kB / 253.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.008768, allocations: 302.4 kB / 254.2 MB, free: 440 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.008969, allocations: 62.06 kB / 254.2 MB, free: 376 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.01096, allocations: 171.6 kB / 254.4 MB, free: 204 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.01112, allocations: 87.75 kB / 254.5 MB, free: 116 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.01116, allocations: 24 kB / 254.5 MB, free: 92 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.0112, allocations: 28 kB / 254.5 MB, free: 64 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.01125, allocations: 51.77 kB / 254.6 MB, free: 12 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.01135, allocations: 91.81 kB / 254.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.01164, allocations: 195.2 kB / 254.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.01164, allocations: 3.938 kB / 254.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01165, allocations: 0 / 254.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01165, allocations: 0 / 254.9 MB, free: 15.73 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.0006816/0.01233, allocations: 0.5663 MB / 255.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01238, allocations: 11.98 kB / 255.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.01246, allocations: 52.75 kB / 255.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.01271, allocations: 196.8 kB / 255.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.01273, allocations: 16.88 kB / 255.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.01277, allocations: 28.38 kB / 255.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.01308, allocations: 207.5 kB / 255.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.01309, allocations: 192 / 255.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.01311, allocations: 12.38 kB / 255.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.01312, allocations: 8.375 kB / 255.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.01331, allocations: 110.7 kB / 256.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.01412, allocations: 0.7977 MB / 256.9 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.01451, allocations: 241.2 kB / 257.1 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.01469, allocations: 99.02 kB / 257.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.01471, allocations: 7.938 kB / 257.2 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.01474, allocations: 41.39 kB / 257.2 MB, free: 13.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.01474, allocations: 4 kB / 257.2 MB, free: 13.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001845/0.01658, allocations: 1.406 MB / 258.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.01663, allocations: 107 kB / 258.7 MB, free: 11.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.01676, allocations: 221.8 kB / 259 MB, free: 11.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.01678, allocations: 41.7 kB / 259 MB, free: 11.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.01686, allocations: 187.5 kB / 259.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.01696, allocations: 166.5 kB / 259.3 MB, free: 10.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.01705, allocations: 83.81 kB / 259.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01718, allocations: 0.504 MB / 259.9 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.787e-05/0.01728, allocations: 56.95 kB / 260 MB, free: 10.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.01742, allocations: 146.7 kB / 260.1 MB, free: 9.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.0177, allocations: 224.5 kB / 260.4 MB, free: 9.738 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.0177, allocations: 4 kB / 260.4 MB, free: 9.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003834/0.01809, allocations: 281.2 kB / 260.6 MB, free: 9.453 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.0181, allocations: 4 kB / 260.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01811, allocations: 7.938 kB / 260.6 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01812, allocations: 4 kB / 260.6 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.01838, allocations: 91.89 kB / 260.7 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.01839, allocations: 7.938 kB / 260.7 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/0.01846, allocations: 12.05 kB / 260.8 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.01849, allocations: 19.98 kB / 260.8 MB, free: 9.309 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.0001003/0.01859, allocations: 180.5 kB / 261 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.01867, allocations: 51.8 kB / 261 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.01873, allocations: 33.81 kB / 261 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01873, allocations: 4 kB / 261 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01874, allocations: 0 / 261 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.01875, allocations: 11.92 kB / 261.1 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009927/0.01974, allocations: 1.031 MB / 262.1 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01974, allocations: 4 kB / 262.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.02001, allocations: 95.83 kB / 262.2 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.02001, allocations: 4 kB / 262.2 MB, free: 7.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.02003, allocations: 8 kB / 262.2 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.02004, allocations: 4 kB / 262.2 MB, free: 7.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.02004, allocations: 7.938 kB / 262.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.02061, allocations: 0.7927 MB / 263 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.02064, allocations: 27.84 kB / 263 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.02069, allocations: 8 kB / 263 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.02086, allocations: 12 kB / 263 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.0209, allocations: 35.88 kB / 263.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.02092, allocations: 16 kB / 263.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.984e-05/0.02099, allocations: 160.2 kB / 263.3 MB, free: 6.684 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02099, allocations: 0 / 263.3 MB, free: 6.684 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.02138, allocations: 72 kB / 263.3 MB, free: 6.613 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.0001021/0.02148, allocations: 111.1 kB / 263.4 MB, free: 6.496 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.02179, allocations: 208.9 kB / 263.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.02179, allocations: 4 kB / 263.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.02193, allocations: 123.1 kB / 263.8 MB, free: 6.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.02252, allocations: 78.52 kB / 263.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.02354, allocations: 0.7998 MB / 264.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.118e-05/0.02363, allocations: 93.28 kB / 264.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.02374, allocations: 34.97 kB / 264.8 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.0238, allocations: 28.5 kB / 264.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02381, allocations: 0 / 264.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of Templates: time 0.005796/0.0296, allocations: 3.095 MB / 267.9 MB, free: 1.965 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.7453838530927896]