Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00167/0.00167, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001999/0.001999, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2823, allocations: 53.4 MB / 432.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004322/0.2866, allocations: 2.444 MB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.2871, allocations: 255 kB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2873, allocations: 7.938 kB / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.2875, allocations: 43.58 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.2877, allocations: 87.2 kB / 435.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.2879, allocations: 55.92 kB / 435.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.2883, allocations: 298.6 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.2885, allocations: 58.02 kB / 435.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2886, allocations: 115.6 kB / 435.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.2888, allocations: 115.5 kB / 435.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.2889, allocations: 24 kB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.2889, allocations: 20 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.289, allocations: 55.78 kB / 436 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.2891, allocations: 131.4 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.2895, allocations: 307.9 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2895, allocations: 0 / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2895, allocations: 0 / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2895, allocations: 0 / 436.4 MB, free: 2.812 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.000864/0.2904, allocations: 477.6 kB / 436.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2904, allocations: 12.03 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.2905, allocations: 36.69 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.2909, allocations: 190.7 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2909, allocations: 16.88 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.291, allocations: 24.38 kB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.2914, allocations: 239.2 kB / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.2914, allocations: 8.125 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2915, allocations: 15.94 kB / 437.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2915, allocations: 8 kB / 437.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.2918, allocations: 155.9 kB / 437.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.293, allocations: 0.765 MB / 438.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.2935, allocations: 279.7 kB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.2938, allocations: 126.7 kB / 438.7 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2938, allocations: 4 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2938, allocations: 42.56 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.2938, allocations: 3.938 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002681/0.2965, allocations: 1.495 MB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/0.2966, allocations: 111.1 kB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2968, allocations: 187.2 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.2969, allocations: 41.7 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.297, allocations: 132.9 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.2971, allocations: 182.4 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2972, allocations: 70.14 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.2974, allocations: 338.8 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2976, allocations: 88.84 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.2978, allocations: 158.3 kB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.2982, allocations: 280.6 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2982, allocations: 0 / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005267/0.2988, allocations: 339.7 kB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.2988, allocations: 11.94 kB / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2988, allocations: 0 / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.2988, allocations: 12.02 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.2992, allocations: 95.84 kB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2992, allocations: 4 kB / 442.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2993, allocations: 8 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.2993, allocations: 20 kB / 442.3 MB, free: 12.48 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.0001683/0.2995, allocations: 145.9 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.2996, allocations: 43.73 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.477e-05/0.2997, allocations: 33.81 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2997, allocations: 4 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.2997, allocations: 7.938 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2997, allocations: 3.984 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3012, allocations: 1.023 MB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.3012, allocations: 4 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.3016, allocations: 88.17 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.3016, allocations: 7.938 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.3016, allocations: 19.94 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3016, allocations: 4 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3016, allocations: 4 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.3025, allocations: 0.7248 MB / 444.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.3025, allocations: 31.8 kB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.3026, allocations: 12.06 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3028, allocations: 8 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.3028, allocations: 39.81 kB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.3029, allocations: 16 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.303, allocations: 136.6 kB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.303, allocations: 3.938 kB / 444.7 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004225/0.3034, allocations: 76 kB / 444.7 MB, free: 9.93 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.0001629/0.3036, allocations: 111.1 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004935/0.3041, allocations: 258.4 kB / 445.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3041, allocations: 0 / 445.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.3043, allocations: 140.6 kB / 445.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.305, allocations: 67.03 kB / 445.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3066, allocations: 0.9422 MB / 446.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.3071, allocations: 0.776 MB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.3072, allocations: 31.44 kB / 447 MB, free: 7.516 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3072, allocations: 0 / 447 MB, free: 7.516 MB / 350.1 MB Notification: Performance of Templates: time 0.006606/0.3138, allocations: 3.501 MB / 450.5 MB, free: 4.027 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.49256175593473]