Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001064/0.001064, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002548, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001041/0.001041, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009122/0.001953, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09172/1.121, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.636e-05, allocations: 8.781 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003005/0.003021, allocations: 2.487 MB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.007161, allocations: 0.6697 MB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.007278, allocations: 7.938 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.89e-05/0.007367, allocations: 39.59 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.007513, allocations: 67.3 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.007711, allocations: 75.83 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.008006, allocations: 266.7 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.008153, allocations: 71.66 kB / 248.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.008409, allocations: 180.3 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.008536, allocations: 75.78 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.008564, allocations: 23.94 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.591e-05/0.00864, allocations: 24 kB / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.008676, allocations: 35.88 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.008743, allocations: 63.88 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.008968, allocations: 167.3 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/0.008983, allocations: 0 / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.008983, allocations: 4 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.008999, allocations: 0 / 248.7 MB, free: 10.07 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.003678/0.01268, allocations: 491.8 kB / 249.2 MB, free: 9.562 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.01271, allocations: 8.031 kB / 249.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.01291, allocations: 126 kB / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.01311, allocations: 177.4 kB / 249.5 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.01313, allocations: 12.88 kB / 249.5 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.01316, allocations: 20.38 kB / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.01339, allocations: 190.7 kB / 249.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01341, allocations: 0 / 249.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.01342, allocations: 4 kB / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.01343, allocations: 8 kB / 249.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.01353, allocations: 59.95 kB / 249.8 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.01418, allocations: 0.5332 MB / 250.4 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.01439, allocations: 129.2 kB / 250.5 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.01449, allocations: 57.67 kB / 250.5 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.01451, allocations: 8 kB / 250.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.01465, allocations: 38.56 kB / 250.6 MB, free: 8.086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.01466, allocations: 0 / 250.6 MB, free: 8.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.003862/0.01852, allocations: 0.5244 MB / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.01856, allocations: 85.09 kB / 251.2 MB, free: 7.414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.01866, allocations: 171 kB / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01867, allocations: 25.7 kB / 251.4 MB, free: 7.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.01873, allocations: 144.4 kB / 251.5 MB, free: 7.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.01879, allocations: 95.16 kB / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.01885, allocations: 57.66 kB / 251.7 MB, free: 6.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.01894, allocations: 330.8 kB / 252 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.01897, allocations: 16 kB / 252 MB, free: 6.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.369e-05/0.01903, allocations: 77.22 kB / 252.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01915, allocations: 112.2 kB / 252.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01916, allocations: 4 kB / 252.2 MB, free: 6.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000173/0.01933, allocations: 148.2 kB / 252.3 MB, free: 6.184 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01934, allocations: 11.88 kB / 252.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01935, allocations: 4 kB / 252.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.01936, allocations: 0 / 252.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.01958, allocations: 75.19 kB / 252.4 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01958, allocations: 3.938 kB / 252.4 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.01965, allocations: 8 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.01966, allocations: 8 kB / 252.5 MB, free: 6.078 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 7.534e-05/0.01974, allocations: 125.9 kB / 252.6 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.01979, allocations: 27.92 kB / 252.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.01983, allocations: 25.8 kB / 252.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01983, allocations: 0 / 252.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01983, allocations: 4 kB / 252.6 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01983, allocations: 0 / 252.6 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.02029, allocations: 368.9 kB / 253 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0203, allocations: 0 / 253 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.0205, allocations: 75.98 kB / 253.1 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.02052, allocations: 19.86 kB / 253.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.02053, allocations: 3.984 kB / 253.1 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.02054, allocations: 8 kB / 253.1 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.02054, allocations: 4 kB / 253.1 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02054, allocations: 0 / 253.1 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.02081, allocations: 361.6 kB / 253.5 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.02083, allocations: 8 kB / 253.5 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.02094, allocations: 11.94 kB / 253.5 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.02098, allocations: 23.91 kB / 253.5 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.02099, allocations: 8 kB / 253.5 MB, free: 4.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.02102, allocations: 36.81 kB / 253.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02102, allocations: 0 / 253.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003263/0.02429, allocations: 52 kB / 253.6 MB, free: 4.863 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.258e-05/0.02437, allocations: 88.34 kB / 253.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.02453, allocations: 102.7 kB / 253.8 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.02454, allocations: 0 / 253.8 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.02461, allocations: 76.81 kB / 253.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.02494, allocations: 55.97 kB / 253.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.02698, allocations: 0.4967 MB / 254.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.056e-05/0.02704, allocations: 80.33 kB / 254.5 MB, free: 3.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.00309/0.03013, allocations: 25.94 kB / 254.5 MB, free: 3.875 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.03024, allocations: 87.3 kB / 254.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of SimCode: time 6.62e-07/0.03025, allocations: 0 / 254.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of Templates: time 0.00421/0.03445, allocations: 2.283 MB / 256.9 MB, free: 1.562 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4464885955676436]