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.001281/0.001281, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001455/0.001455, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.485/1.485, allocations: 230.3 MB / 258 MB, free: 8.242 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.001917/0.001917, allocations: 59.89 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2596, allocations: 53.37 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003706/0.2633, allocations: 2.44 MB / 434.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004773/0.2638, allocations: 251.1 kB / 434.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2639, allocations: 7.938 kB / 434.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.264, allocations: 43.56 kB / 434.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2642, allocations: 83.27 kB / 434.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.2644, allocations: 63.86 kB / 435 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.2647, allocations: 286.7 kB / 435.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.2649, allocations: 69.98 kB / 435.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.265, allocations: 115.6 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2652, allocations: 115.5 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.2652, allocations: 24 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.807e-05/0.2653, allocations: 20 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.2653, allocations: 55.78 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2654, allocations: 131.4 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.2658, allocations: 296.4 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2658, allocations: 0 / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2658, allocations: 7.938 kB / 436.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2658, allocations: 0 / 436.1 MB, free: 3.086 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.0007973/0.2666, allocations: 477.5 kB / 436.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2666, allocations: 8.031 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.2667, allocations: 32.75 kB / 436.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.267, allocations: 198.7 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.267, allocations: 16.88 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.2671, allocations: 24.38 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.2675, allocations: 239.2 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2675, allocations: 4.188 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2676, allocations: 11.94 kB / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2676, allocations: 12 kB / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.2679, allocations: 163.8 kB / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2689, allocations: 0.7572 MB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.2694, allocations: 283.7 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.2697, allocations: 126.7 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2697, allocations: 4 kB / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2697, allocations: 38.56 kB / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.2697, allocations: 0 / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002593/0.2723, allocations: 1.516 MB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2724, allocations: 106.8 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2726, allocations: 187.2 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.2726, allocations: 37.7 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.2727, allocations: 140.9 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2729, allocations: 174.4 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.273, allocations: 78.06 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2731, allocations: 334.8 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2733, allocations: 84.84 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2735, allocations: 158.3 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.2739, allocations: 279.2 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2739, allocations: 3.938 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005347/0.2744, allocations: 341.2 kB / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2744, allocations: 16.03 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2744, allocations: 0 / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2745, allocations: 4 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.2748, allocations: 91.91 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2748, allocations: 7.938 kB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2749, allocations: 8 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.2749, allocations: 12 kB / 442 MB, free: 12.76 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.0001466/0.2751, allocations: 149.8 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.2752, allocations: 35.75 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.404e-05/0.2752, allocations: 37.81 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2753, allocations: 4 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2753, allocations: 4 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2753, allocations: 3.984 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2767, allocations: 1.026 MB / 443.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.2767, allocations: 4 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.2771, allocations: 87.89 kB / 443.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2771, allocations: 8.219 kB / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.2771, allocations: 20 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.2771, allocations: 7.938 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.2771, allocations: 4 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.278, allocations: 0.7253 MB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.278, allocations: 27.8 kB / 444.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.278, allocations: 12.06 kB / 444.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2783, allocations: 20.05 kB / 444.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.2783, allocations: 35.83 kB / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.2783, allocations: 20 kB / 444.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2785, allocations: 136.5 kB / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2785, allocations: 0 / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004321/0.2789, allocations: 72 kB / 444.4 MB, free: 10.2 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.0001451/0.279, allocations: 115.1 kB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.2795, allocations: 269.8 kB / 444.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2795, allocations: 0 / 444.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.2797, allocations: 131.8 kB / 444.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.2804, allocations: 65.09 kB / 445 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.282, allocations: 0.9131 MB / 445.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.2825, allocations: 0.7721 MB / 446.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.2826, allocations: 38.94 kB / 446.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.2827, allocations: 27.44 kB / 446.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2827, allocations: 0 / 446.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of Templates: time 0.0081/0.2908, allocations: 3.274 MB / 450 MB, free: 4.543 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/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: 4.51629660371691]