Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.0007433/0.0007433, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001745, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006679/0.0006679, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008816/0.00155, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.941/0.941, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08136/1.022, allocations: 53.86 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.599e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002422/0.002438, allocations: 2.486 MB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.003297, allocations: 0.6697 MB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.003409, allocations: 7.938 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.003491, allocations: 35.64 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.003601, allocations: 71.3 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.003778, allocations: 87.75 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.003997, allocations: 266.7 kB / 248.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.004123, allocations: 71.66 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.004343, allocations: 168.4 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.004502, allocations: 83.77 kB / 249.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.004528, allocations: 20 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.688e-05/0.004594, allocations: 23.98 kB / 249.2 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.004621, allocations: 35.88 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.004673, allocations: 71.81 kB / 249.3 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004864, allocations: 159.4 kB / 249.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.004874, allocations: 4 kB / 249.4 MB, free: 9.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004875, allocations: 0 / 249.4 MB, free: 9.293 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.004884, allocations: 0 / 249.4 MB, free: 9.293 MB / 250.7 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.0004882/0.005372, allocations: 483.9 kB / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.005401, allocations: 8.031 kB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.005568, allocations: 126 kB / 250 MB, free: 8.648 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.005739, allocations: 181.4 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.005752, allocations: 16.88 kB / 250.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.005784, allocations: 20.36 kB / 250.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.005966, allocations: 186.8 kB / 250.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.005977, allocations: 3.938 kB / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.005991, allocations: 12 kB / 250.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005997, allocations: 7.938 kB / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.006071, allocations: 47.97 kB / 250.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.006609, allocations: 0.541 MB / 251 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.006781, allocations: 125.2 kB / 251.2 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.006855, allocations: 57.67 kB / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.00687, allocations: 4 kB / 251.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.00689, allocations: 38.56 kB / 251.3 MB, free: 7.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.082e-06/0.006891, allocations: 0 / 251.3 MB, free: 7.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007254/0.007617, allocations: 0.537 MB / 251.8 MB, free: 6.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.007649, allocations: 81.11 kB / 251.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.007737, allocations: 174.5 kB / 252 MB, free: 6.449 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.00775, allocations: 33.7 kB / 252.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.007807, allocations: 140.4 kB / 252.2 MB, free: 6.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.007851, allocations: 99.14 kB / 252.3 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.007898, allocations: 49.69 kB / 252.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.008179, allocations: 334.8 kB / 252.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.008215, allocations: 20 kB / 252.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.008262, allocations: 60.25 kB / 252.8 MB, free: 5.684 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.008363, allocations: 116.1 kB / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008365, allocations: 8 kB / 252.9 MB, free: 5.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001403/0.008505, allocations: 136.7 kB / 253 MB, free: 5.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.008522, allocations: 11.94 kB / 253 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.008527, allocations: 0 / 253 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.008542, allocations: 4 kB / 253 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.008723, allocations: 71.89 kB / 253.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.008726, allocations: 0 / 253.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.00877, allocations: 12 kB / 253.1 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.00878, allocations: 8 kB / 253.1 MB, free: 5.305 MB / 250.7 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 6.691e-05/0.008847, allocations: 125.9 kB / 253.2 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.008882, allocations: 23.92 kB / 253.3 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.008918, allocations: 29.8 kB / 253.3 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.00892, allocations: 4 kB / 253.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008924, allocations: 0 / 253.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.008929, allocations: 3.938 kB / 253.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.009306, allocations: 368.8 kB / 253.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009308, allocations: 0 / 253.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.009461, allocations: 79 kB / 253.7 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.009478, allocations: 19.84 kB / 253.8 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.009481, allocations: 7.938 kB / 253.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.009493, allocations: 8 kB / 253.8 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009494, allocations: 0 / 253.8 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009495, allocations: 0 / 253.8 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.009715, allocations: 361.6 kB / 254.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.009731, allocations: 8 kB / 254.1 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.009804, allocations: 8 kB / 254.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.00984, allocations: 27.91 kB / 254.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.009846, allocations: 4 kB / 254.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.009874, allocations: 42.41 kB / 254.2 MB, free: 4.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009874, allocations: 0 / 254.2 MB, free: 4.141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.01005, allocations: 48 kB / 254.3 MB, free: 4.094 MB / 250.7 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 8.516e-05/0.01014, allocations: 92.34 kB / 254.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.01027, allocations: 108.8 kB / 254.5 MB, free: 3.883 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.01028, allocations: 8.281 kB / 254.5 MB, free: 3.875 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.01035, allocations: 89.23 kB / 254.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.01068, allocations: 402.3 kB / 255 MB, free: 3.312 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.01204, allocations: 0.5002 MB / 255.5 MB, free: 2.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.093e-05/0.01209, allocations: 84.31 kB / 255.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.291e-05/0.01215, allocations: 25.98 kB / 255.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.01225, allocations: 87.36 kB / 255.6 MB, free: 2.562 MB / 250.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01225, allocations: 0 / 255.6 MB, free: 2.562 MB / 250.7 MB Notification: Performance of Templates: time 0.003626/0.01587, allocations: 2.217 MB / 257.9 MB, free: 404 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.540818562731147]