Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.023e-05, allocations: 6.219 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004202/0.004233, allocations: 2.267 MB / 301.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.005706, allocations: 0.5891 MB / 301.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.005946, allocations: 4 kB / 301.8 MB, free: 5.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.006161, allocations: 47.52 kB / 301.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.006385, allocations: 67.34 kB / 301.9 MB, free: 5.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.006695, allocations: 63.84 kB / 302 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.00707, allocations: 262.7 kB / 302.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.007273, allocations: 73.69 kB / 302.3 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.00756, allocations: 147.7 kB / 302.4 MB, free: 5.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.007736, allocations: 71.78 kB / 302.5 MB, free: 5.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.007789, allocations: 20 kB / 302.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.007833, allocations: 20 kB / 302.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.007898, allocations: 59.73 kB / 302.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.008014, allocations: 75.83 kB / 302.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.008402, allocations: 259.1 kB / 302.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.008408, allocations: 0 / 302.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.00841, allocations: 0 / 302.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.008421, allocations: 7.938 kB / 302.9 MB, free: 4.699 MB / 286.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.0009163/0.009337, allocations: 457.6 kB / 303.4 MB, free: 4.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.009385, allocations: 11.98 kB / 303.4 MB, free: 4.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.009457, allocations: 24.8 kB / 303.4 MB, free: 4.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.009841, allocations: 186 kB / 303.6 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.009862, allocations: 16.88 kB / 303.6 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.009915, allocations: 24.38 kB / 303.6 MB, free: 3.941 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.01041, allocations: 222.7 kB / 303.9 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.01043, allocations: 192 / 303.9 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.01048, allocations: 15.94 kB / 303.9 MB, free: 3.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01049, allocations: 7.938 kB / 303.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.01085, allocations: 139.9 kB / 304 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.0123, allocations: 0.6663 MB / 304.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.01285, allocations: 193 kB / 304.9 MB, free: 2.629 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.01314, allocations: 93.67 kB / 305 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.01318, allocations: 3.938 kB / 305 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.01322, allocations: 38.56 kB / 305 MB, free: 2.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.01322, allocations: 0 / 305 MB, free: 2.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001923/0.01514, allocations: 0.7171 MB / 305.7 MB, free: 1.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.01522, allocations: 81.11 kB / 305.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.0154, allocations: 154.3 kB / 306 MB, free: 1.453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.01544, allocations: 29.7 kB / 306 MB, free: 1.418 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.01556, allocations: 148.4 kB / 306.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.0157, allocations: 99.11 kB / 306.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.0158, allocations: 49.7 kB / 306.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.016, allocations: 334.8 kB / 306.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.01619, allocations: 59.97 kB / 306.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.0164, allocations: 112.2 kB / 306.8 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.01684, allocations: 192.2 kB / 307 MB, free: 400 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01684, allocations: 4 kB / 307 MB, free: 396 kB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000583/0.01742, allocations: 237.4 kB / 307.2 MB, free: 152 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.01745, allocations: 4 kB / 307.2 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.01746, allocations: 7.938 kB / 307.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.01749, allocations: 0 / 307.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.01778, allocations: 67.89 kB / 307.3 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.01779, allocations: 4 kB / 307.3 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.01793, allocations: 16.03 kB / 307.3 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.01795, allocations: 11.94 kB / 307.3 MB, free: 40 kB / 286.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.0002487/0.0182, allocations: 129.8 kB / 307.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.01829, allocations: 27.84 kB / 307.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.536e-05/0.01838, allocations: 29.75 kB / 307.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.01838, allocations: 4 kB / 307.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.01839, allocations: 3.938 kB / 307.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.0184, allocations: 0 / 307.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.01939, allocations: 0.4965 MB / 308 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.0194, allocations: 0 / 308 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.0197, allocations: 59.91 kB / 308.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.0197, allocations: 4 kB / 308.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.01973, allocations: 8 kB / 308.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.01973, allocations: 3.984 kB / 308.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.01974, allocations: 4 kB / 308.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.02053, allocations: 493.1 kB / 308.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.02057, allocations: 15.84 kB / 308.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.02061, allocations: 8 kB / 308.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.0208, allocations: 12.03 kB / 308.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.02087, allocations: 19.97 kB / 308.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.02089, allocations: 8 kB / 308.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.021, allocations: 120.5 kB / 308.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.021, allocations: 0 / 308.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.02138, allocations: 55.94 kB / 308.8 MB, free: 14.48 MB / 302.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.0001521/0.02153, allocations: 103.2 kB / 308.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.02204, allocations: 171.8 kB / 309.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.02205, allocations: 4 kB / 309.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.02226, allocations: 87.83 kB / 309.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.02283, allocations: 44.38 kB / 309.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.02421, allocations: 0.5836 MB / 309.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.02437, allocations: 133.8 kB / 309.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.136e-05/0.02446, allocations: 21.95 kB / 309.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.02453, allocations: 24.48 kB / 310 MB, free: 13.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.264e-06/0.02453, allocations: 0 / 310 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Templates: time 0.006696/0.03123, allocations: 1.976 MB / 311.9 MB, free: 11.29 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.4746178686618805]