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.0009392/0.0009392, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002312, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007674/0.0007674, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002368, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09097/1.146, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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 2.375e-06/2.375e-06, allocations: 4 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.215e-05, allocations: 9.125 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002596/0.002618, allocations: 2.454 MB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005139/0.003132, allocations: 258.9 kB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.003225, allocations: 7.938 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.00331, allocations: 47.52 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.003438, allocations: 87.2 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.003545, allocations: 59.91 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.003779, allocations: 302.5 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.003921, allocations: 64.02 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.004085, allocations: 194.3 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.004199, allocations: 91.69 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.004234, allocations: 20 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.00426, allocations: 24 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.004289, allocations: 35.88 kB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.004354, allocations: 79.81 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.004674, allocations: 175.3 kB / 248.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.004691, allocations: 8 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004691, allocations: 0 / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.004707, allocations: 0 / 248.4 MB, free: 10.43 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.0005474/0.005254, allocations: 0.4998 MB / 248.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.005287, allocations: 12.03 kB / 248.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.005336, allocations: 32.91 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.005521, allocations: 182 kB / 249.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.005538, allocations: 20.88 kB / 249.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.005569, allocations: 24.38 kB / 249.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005746, allocations: 187 kB / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.00576, allocations: 12.12 kB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.005773, allocations: 8.375 kB / 249.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.00578, allocations: 8.375 kB / 249.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.224e-05/0.005873, allocations: 75.86 kB / 249.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.006388, allocations: 0.5468 MB / 250 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.006616, allocations: 191.6 kB / 250.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.006708, allocations: 78.66 kB / 250.3 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.006721, allocations: 8 kB / 250.3 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.006742, allocations: 34.56 kB / 250.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.323e-06/0.006744, allocations: 0 / 250.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001353/0.008096, allocations: 1.293 MB / 251.6 MB, free: 6.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000317/0.008413, allocations: 106.8 kB / 251.7 MB, free: 6.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.0085, allocations: 167.1 kB / 251.9 MB, free: 6.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.008517, allocations: 29.7 kB / 251.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.008572, allocations: 136.8 kB / 252 MB, free: 6.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.618e-05/0.008658, allocations: 174.5 kB / 252.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.008722, allocations: 74.16 kB / 252.3 MB, free: 6.223 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.008807, allocations: 338.7 kB / 252.6 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.008846, allocations: 36.98 kB / 252.6 MB, free: 5.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.00892, allocations: 118.8 kB / 252.7 MB, free: 5.711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.009058, allocations: 173.9 kB / 252.9 MB, free: 5.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00906, allocations: 4 kB / 252.9 MB, free: 5.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001867/0.009246, allocations: 203.9 kB / 253.1 MB, free: 5.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.009262, allocations: 8 kB / 253.1 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.009268, allocations: 3.984 kB / 253.1 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.009279, allocations: 4 kB / 253.1 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.009511, allocations: 107.9 kB / 253.2 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.009516, allocations: 7.938 kB / 253.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.009567, allocations: 12 kB / 253.3 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.009579, allocations: 16.08 kB / 253.3 MB, free: 5.156 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 7.276e-05/0.009652, allocations: 133.7 kB / 253.4 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.009698, allocations: 31.97 kB / 253.4 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.009743, allocations: 37.8 kB / 253.5 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.009747, allocations: 8 kB / 253.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009751, allocations: 0 / 253.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.009756, allocations: 3.938 kB / 253.5 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.01039, allocations: 0.7313 MB / 254.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.0104, allocations: 4 kB / 254.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.01063, allocations: 107.9 kB / 254.3 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.01066, allocations: 23.81 kB / 254.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01066, allocations: 8 kB / 254.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.01068, allocations: 16.28 kB / 254.4 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.01069, allocations: 11.92 kB / 254.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.01069, allocations: 7.938 kB / 254.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.01108, allocations: 0.545 MB / 254.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.01111, allocations: 8 kB / 254.9 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01122, allocations: 12 kB / 255 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.01126, allocations: 39.88 kB / 255 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.01127, allocations: 12.05 kB / 255 MB, free: 3.316 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.0113, allocations: 41.86 kB / 255.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0113, allocations: 4 kB / 255.1 MB, free: 3.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.01158, allocations: 72 kB / 255.1 MB, free: 3.199 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.0001072/0.01168, allocations: 100.8 kB / 255.2 MB, free: 3.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.01188, allocations: 188.5 kB / 255.4 MB, free: 2.902 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.01189, allocations: 4 kB / 255.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.01197, allocations: 116.5 kB / 255.5 MB, free: 2.785 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.01233, allocations: 96.95 kB / 255.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.01348, allocations: 0.6311 MB / 256.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.479e-05/0.01355, allocations: 101.3 kB / 256.4 MB, free: 1.879 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.492e-05/0.01363, allocations: 34.97 kB / 256.4 MB, free: 1.848 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.01376, allocations: 119.3 kB / 256.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01376, allocations: 0 / 256.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of Templates: time 0.005469/0.01923, allocations: 3.484 MB / 260 MB, free: 14.34 MB / 266.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 -ignoreHideResult -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.544354668818414]