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.001555/0.001555, allocations: 114 kB / 21.18 MB, free: 0.5898 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.002131/0.002131, allocations: 206.6 kB / 24.47 MB, free: 3.996 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.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 8.129 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.001914/0.001914, allocations: 63.84 kB / 378.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2494, allocations: 53.31 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003797/0.2532, allocations: 2.456 MB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000519/0.2537, allocations: 247.1 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2538, allocations: 8 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.2539, allocations: 43.58 kB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.2541, allocations: 87.25 kB / 434.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.2543, allocations: 51.88 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.2546, allocations: 286.7 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2548, allocations: 69.7 kB / 435.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2549, allocations: 119.6 kB / 435.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.2551, allocations: 115.5 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.2551, allocations: 23.94 kB / 435.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.2552, allocations: 24 kB / 435.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.2552, allocations: 55.83 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2554, allocations: 135.3 kB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.2557, allocations: 288.8 kB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2557, allocations: 3.938 kB / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2557, allocations: 0 / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.2557, allocations: 4 kB / 436 MB, free: 3.367 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.0008099/0.2565, allocations: 0.534 MB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2566, allocations: 12.03 kB / 436.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.2566, allocations: 28.75 kB / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.257, allocations: 260.5 kB / 436.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.257, allocations: 24.94 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.2571, allocations: 24.38 kB / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.2575, allocations: 240 kB / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2575, allocations: 192 / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.2575, allocations: 15.94 kB / 437.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2575, allocations: 4 kB / 437.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.2578, allocations: 163.7 kB / 437.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2589, allocations: 0.7972 MB / 438.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.2594, allocations: 279.7 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2596, allocations: 122.5 kB / 438.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2597, allocations: 4 kB / 438.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2597, allocations: 34.56 kB / 438.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.2597, allocations: 0 / 438.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002813/0.2625, allocations: 1.96 MB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.2626, allocations: 110.8 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2628, allocations: 191.1 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.2628, allocations: 29.7 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2629, allocations: 148.8 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.263, allocations: 166.4 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2631, allocations: 78.12 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2633, allocations: 338.8 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2635, allocations: 92.83 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2637, allocations: 154.3 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.2641, allocations: 285.2 kB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2641, allocations: 0 / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005268/0.2646, allocations: 344.3 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2646, allocations: 7.938 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2646, allocations: 4 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.2646, allocations: 4 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.265, allocations: 99.92 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.265, allocations: 4.938 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.2651, allocations: 8 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.2651, allocations: 20 kB / 442.5 MB, free: 12.28 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.0001504/0.2653, allocations: 145.8 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.2654, allocations: 35.75 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.2655, allocations: 37.86 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2655, allocations: 4 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2655, allocations: 4 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2655, allocations: 4 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.2669, allocations: 1.058 MB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2669, allocations: 4 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.2673, allocations: 87.91 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.2673, allocations: 7.938 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2673, allocations: 8 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-05/0.2674, allocations: 11.92 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2674, allocations: 4.281 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.2682, allocations: 0.7206 MB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.2683, allocations: 113 kB / 444.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.2683, allocations: 8 kB / 444.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2685, allocations: 12.05 kB / 444.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.2686, allocations: 43.83 kB / 444.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.2686, allocations: 12 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.2687, allocations: 140.2 kB / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2687, allocations: 4 kB / 445 MB, free: 9.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004332/0.2692, allocations: 72 kB / 445.1 MB, free: 9.598 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.0001364/0.2693, allocations: 103.2 kB / 445.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004609/0.2698, allocations: 275.7 kB / 445.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2698, allocations: 0 / 445.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.27, allocations: 127.8 kB / 445.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.2707, allocations: 72.52 kB / 445.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2722, allocations: 0.9523 MB / 446.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.2726, allocations: 0.7759 MB / 447.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.2727, allocations: 27.44 kB / 447.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2727, allocations: 4 kB / 447.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of Templates: time 0.006041/0.2788, allocations: 3.497 MB / 450.9 MB, free: 3.68 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.800215761642903]