Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 189.2 kB / 24.47 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2565, allocations: 52.17 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004218/0.2607, allocations: 2.475 MB / 426.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2618, allocations: 0.5804 MB / 426.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2619, allocations: 7.938 kB / 426.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2621, allocations: 39.64 kB / 427 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.2622, allocations: 67.34 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2625, allocations: 55.92 kB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.2628, allocations: 258.8 kB / 427.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.263, allocations: 77.64 kB / 427.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2632, allocations: 99.69 kB / 427.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2633, allocations: 107.5 kB / 427.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.2634, allocations: 20 kB / 427.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.772e-05/0.2634, allocations: 20 kB / 427.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.2635, allocations: 43.84 kB / 427.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2636, allocations: 119.3 kB / 427.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.2639, allocations: 260.1 kB / 428.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2639, allocations: 0 / 428.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2639, allocations: 0 / 428.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2639, allocations: 4 kB / 428.1 MB, free: 10.47 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008022/0.2647, allocations: 457.6 kB / 428.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2648, allocations: 8.031 kB / 428.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.2648, allocations: 32.75 kB / 428.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2652, allocations: 183.5 kB / 428.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2652, allocations: 12.81 kB / 428.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.2652, allocations: 28.27 kB / 428.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.2657, allocations: 217.3 kB / 429 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2657, allocations: 0 / 429 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.2657, allocations: 12 kB / 429 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2657, allocations: 4 kB / 429 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.2661, allocations: 151.8 kB / 429.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2674, allocations: 0.7433 MB / 429.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.2678, allocations: 193 kB / 430.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.2681, allocations: 97.66 kB / 430.2 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.2681, allocations: 4 kB / 430.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2681, allocations: 34.69 kB / 430.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.2681, allocations: 4 kB / 430.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001602/0.2697, allocations: 0.7127 MB / 430.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.2698, allocations: 85.11 kB / 431 MB, free: 7.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.27, allocations: 179.2 kB / 431.2 MB, free: 7.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.27, allocations: 25.7 kB / 431.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2701, allocations: 148.5 kB / 431.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.2702, allocations: 95.17 kB / 431.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.2703, allocations: 45.7 kB / 431.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2704, allocations: 330.8 kB / 431.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.2706, allocations: 71.89 kB / 431.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2708, allocations: 112.2 kB / 432 MB, free: 6.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.2711, allocations: 184.2 kB / 432.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2711, allocations: 0 / 432.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004668/0.2716, allocations: 255.8 kB / 432.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2716, allocations: 4 kB / 432.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2716, allocations: 0 / 432.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2716, allocations: 4 kB / 432.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2719, allocations: 63.91 kB / 432.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2719, allocations: 4.094 kB / 432.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.2721, allocations: 27.88 kB / 432.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2721, allocations: 8 kB / 432.5 MB, free: 5.691 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001339/0.2722, allocations: 141.7 kB / 432.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.2723, allocations: 19.91 kB / 432.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.2723, allocations: 29.8 kB / 432.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2723, allocations: 0 / 432.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2723, allocations: 4 kB / 432.7 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2724, allocations: 0 / 432.7 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000897/0.2733, allocations: 0.5466 MB / 433.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2733, allocations: 0 / 433.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.2735, allocations: 59.91 kB / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.2736, allocations: 11.92 kB / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.2736, allocations: 8.094 kB / 433.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2736, allocations: 4.391 kB / 433.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/0.2736, allocations: 7.938 kB / 433.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.2743, allocations: 493 kB / 433.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.2743, allocations: 19.86 kB / 433.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.2744, allocations: 8 kB / 433.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2745, allocations: 12.03 kB / 433.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.2746, allocations: 23.83 kB / 433.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.2746, allocations: 12 kB / 433.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.2748, allocations: 132.4 kB / 434.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2748, allocations: 0 / 434.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.2751, allocations: 55.94 kB / 434.1 MB, free: 4.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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.0001249/0.2752, allocations: 103.7 kB / 434.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.2756, allocations: 171.8 kB / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2756, allocations: 0 / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.2758, allocations: 96.2 kB / 434.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.2763, allocations: 42.94 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2776, allocations: 0.7207 MB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.2781, allocations: 0.748 MB / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.2781, allocations: 19.44 kB / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2781, allocations: 0 / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of Templates: time 0.005075/0.2832, allocations: 2.628 MB / 438.6 MB, free: 15.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.123660397948697]