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.001789/0.001789, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.0021/0.0021, allocations: 164.8 kB / 25.02 MB, free: 8.953 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.514/1.514, allocations: 158.6 MB / 186.8 MB, free: 2.898 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 2.154e-06/2.154e-06, allocations: 0 / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.07e-05/4.285e-05, allocations: 9.969 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00455/0.004592, allocations: 2.246 MB / 252.6 MB, free: 5.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.005315, allocations: 235.1 kB / 252.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.005522, allocations: 11.94 kB / 252.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.005729, allocations: 39.58 kB / 252.9 MB, free: 5.301 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.005978, allocations: 91.19 kB / 253 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.006192, allocations: 59.86 kB / 253 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.006648, allocations: 306.4 kB / 253.3 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.006869, allocations: 70.05 kB / 253.4 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.007176, allocations: 167.6 kB / 253.6 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.007365, allocations: 83.72 kB / 253.6 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.007417, allocations: 20 kB / 253.7 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.6e-05/0.007483, allocations: 24 kB / 253.7 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.00755, allocations: 59.75 kB / 253.7 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.007685, allocations: 87.81 kB / 253.8 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.008096, allocations: 291 kB / 254.1 MB, free: 4.062 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.008099, allocations: 0 / 254.1 MB, free: 4.062 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.0081, allocations: 0 / 254.1 MB, free: 4.062 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.008111, allocations: 0 / 254.1 MB, free: 4.062 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.001227/0.009339, allocations: 489.5 kB / 254.6 MB, free: 3.551 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.009386, allocations: 11.98 kB / 254.6 MB, free: 3.539 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.009522, allocations: 52.75 kB / 254.7 MB, free: 3.488 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.009904, allocations: 186 kB / 254.8 MB, free: 3.277 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.009932, allocations: 20.86 kB / 254.9 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.009994, allocations: 28.38 kB / 254.9 MB, free: 3.23 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.01046, allocations: 243.1 kB / 255.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.01048, allocations: 4.188 kB / 255.1 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.01051, allocations: 8.375 kB / 255.1 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.01052, allocations: 4.375 kB / 255.1 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.01084, allocations: 167.7 kB / 255.3 MB, free: 2.797 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.01197, allocations: 0.672 MB / 256 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.01254, allocations: 267.8 kB / 256.2 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.01281, allocations: 130.5 kB / 256.4 MB, free: 1.66 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.01284, allocations: 11.92 kB / 256.4 MB, free: 1.648 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.01288, allocations: 38.56 kB / 256.4 MB, free: 1.598 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.01289, allocations: 0 / 256.4 MB, free: 1.598 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.002999/0.01588, allocations: 1.521 MB / 257.9 MB, free: 15.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.01598, allocations: 110.9 kB / 258 MB, free: 15.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.01617, allocations: 166.4 kB / 258.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.01621, allocations: 33.7 kB / 258.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.01636, allocations: 144.8 kB / 258.4 MB, free: 15.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.01651, allocations: 162.5 kB / 258.5 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.01665, allocations: 78.14 kB / 258.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.01685, allocations: 338.8 kB / 258.9 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.01704, allocations: 84.97 kB / 259 MB, free: 14.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.0173, allocations: 162.9 kB / 259.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.01777, allocations: 281.8 kB / 259.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01777, allocations: 0 / 259.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006202/0.01839, allocations: 361.2 kB / 259.8 MB, free: 13.94 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01841, allocations: 4 kB / 259.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.01842, allocations: 4 kB / 259.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.01844, allocations: 0 / 259.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.01879, allocations: 95.84 kB / 259.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.01881, allocations: 16.03 kB / 259.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.01893, allocations: 11.98 kB / 259.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.01896, allocations: 16 kB / 260 MB, free: 13.79 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.0001753/0.01913, allocations: 149.7 kB / 260.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.01926, allocations: 43.81 kB / 260.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.01935, allocations: 29.81 kB / 260.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.01935, allocations: 8 kB / 260.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.01936, allocations: 0 / 260.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.01937, allocations: 7.922 kB / 260.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.02123, allocations: 0.941 MB / 261.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.02123, allocations: 3.938 kB / 261.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.02163, allocations: 91.83 kB / 261.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.02164, allocations: 4 kB / 261.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.02166, allocations: 12.28 kB / 261.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.02167, allocations: 12 kB / 261.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.02167, allocations: 0 / 261.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.02264, allocations: 0.7298 MB / 262 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.02269, allocations: 23.81 kB / 262 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.02274, allocations: 16.06 kB / 262 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.02296, allocations: 8 kB / 262 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.02302, allocations: 39.81 kB / 262.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.02305, allocations: 16 kB / 262.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.02318, allocations: 124.3 kB / 262.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02318, allocations: 4 kB / 262.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.02365, allocations: 72 kB / 262.3 MB, free: 11.35 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.000166/0.02382, allocations: 111.1 kB / 262.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.02436, allocations: 251.5 kB / 262.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.02437, allocations: 0 / 262.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.0246, allocations: 137 kB / 262.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.02537, allocations: 87.12 kB / 262.8 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.027, allocations: 0.7754 MB / 263.6 MB, free: 9.938 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.02724, allocations: 159.8 kB / 263.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.02738, allocations: 34.89 kB / 263.8 MB, free: 9.727 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.02747, allocations: 32.5 kB / 263.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02747, allocations: 0 / 263.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of Templates: time 0.008065/0.03554, allocations: 2.941 MB / 266.8 MB, free: 6.785 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] 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.470785637036897]