Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008897/0.008897, allocations: 108.9 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 259 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2332, allocations: 53.36 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003817/0.237, allocations: 2.452 MB / 435.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005622/0.2376, allocations: 247.1 kB / 435.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2377, allocations: 7.938 kB / 435.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.2378, allocations: 43.56 kB / 435.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.238, allocations: 87.22 kB / 436 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.2382, allocations: 59.92 kB / 436 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.2385, allocations: 290.6 kB / 436.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.2387, allocations: 73.98 kB / 436.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2389, allocations: 115.6 kB / 436.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.239, allocations: 111.5 kB / 436.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.2391, allocations: 20 kB / 436.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.602e-05/0.2391, allocations: 24 kB / 436.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.2392, allocations: 59.77 kB / 436.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2393, allocations: 127.4 kB / 436.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.2396, allocations: 292 kB / 437.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2396, allocations: 12 kB / 437.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2396, allocations: 0 / 437.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2396, allocations: 0 / 437.1 MB, free: 2.984 MB / 334.1 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.0007718/0.2404, allocations: 477.5 kB / 437.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2405, allocations: 8.031 kB / 437.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.2405, allocations: 36.75 kB / 437.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.2408, allocations: 179.8 kB / 437.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.2409, allocations: 24.81 kB / 437.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.2409, allocations: 24.38 kB / 437.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.2413, allocations: 239.2 kB / 438.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.2414, allocations: 192 / 438.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2414, allocations: 15.94 kB / 438.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2414, allocations: 8 kB / 438.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.2417, allocations: 163.8 kB / 438.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.2429, allocations: 0.7572 MB / 439.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.2434, allocations: 283.8 kB / 439.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.2436, allocations: 122.6 kB / 439.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.2436, allocations: 8 kB / 439.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2437, allocations: 34.56 kB / 439.5 MB, free: 476 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 4.037e-06/0.2437, allocations: 11.92 kB / 439.5 MB, free: 464 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.00266/0.2463, allocations: 1.496 MB / 441 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.2464, allocations: 106.8 kB / 441.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2466, allocations: 191.2 kB / 441.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2466, allocations: 33.7 kB / 441.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2467, allocations: 144.9 kB / 441.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.2469, allocations: 170.5 kB / 441.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.247, allocations: 74.12 kB / 441.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2471, allocations: 338.8 kB / 442 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2473, allocations: 84.84 kB / 442.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2475, allocations: 162.3 kB / 442.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.2479, allocations: 275.1 kB / 442.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2479, allocations: 0 / 442.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005364/0.2485, allocations: 351 kB / 442.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2485, allocations: 12.03 kB / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2485, allocations: 4 kB / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2485, allocations: 4 kB / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.2489, allocations: 91.91 kB / 443 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2489, allocations: 7.984 kB / 443 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.249, allocations: 12 kB / 443 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.249, allocations: 15.94 kB / 443 MB, free: 12.67 MB / 350.1 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.0001531/0.2492, allocations: 149.8 kB / 443.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.165e-05/0.2493, allocations: 36.69 kB / 443.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.2493, allocations: 37.81 kB / 443.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2493, allocations: 4 kB / 443.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2493, allocations: 0 / 443.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.2494, allocations: 7.984 kB / 443.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.2508, allocations: 1.032 MB / 444.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2508, allocations: 48 / 444.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.2512, allocations: 95.88 kB / 444.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.2512, allocations: 8.219 kB / 444.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.2513, allocations: 16 kB / 444.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.2513, allocations: 8 kB / 444.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2513, allocations: 3.938 kB / 444.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/0.2521, allocations: 0.7287 MB / 445.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.2522, allocations: 23.8 kB / 445.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2522, allocations: 16.06 kB / 445.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.2524, allocations: 15.98 kB / 445.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.2525, allocations: 31.89 kB / 445.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2525, allocations: 12 kB / 445.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.2526, allocations: 136.5 kB / 445.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2526, allocations: 3.938 kB / 445.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.2531, allocations: 72 kB / 445.5 MB, free: 10.11 MB / 350.1 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.0001365/0.2532, allocations: 119.1 kB / 445.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.2537, allocations: 255.6 kB / 445.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2537, allocations: 0 / 445.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2539, allocations: 135.7 kB / 446 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.2545, allocations: 67.94 kB / 446 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.2561, allocations: 0.9449 MB / 447 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.2565, allocations: 0.7721 MB / 447.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.2566, allocations: 35.44 kB / 447.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2566, allocations: 0 / 447.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of Templates: time 0.006058/0.2627, allocations: 3.488 MB / 451.3 MB, free: 4.219 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.474824779899791]