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.0008716/0.0008716, allocations: 75.77 kB / 22.46 MB, free: 2.09 MB / 18.57 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.001006/0.001006, allocations: 164 kB / 25.75 MB, free: 8.945 MB / 18.57 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 0.8964/0.8964, allocations: 158.6 MB / 187.5 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.403e-06/1.403e-06, allocations: 0 / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.199e-05, allocations: 6.25 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002663/0.002685, allocations: 2.408 MB / 253.5 MB, free: 5.383 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.003497, allocations: 0.6086 MB / 254.1 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.003602, allocations: 4 kB / 254.1 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.003728, allocations: 43.52 kB / 254.2 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.003825, allocations: 67.34 kB / 254.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.004039, allocations: 67.84 kB / 254.3 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.004264, allocations: 262.7 kB / 254.5 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.004429, allocations: 65.7 kB / 254.6 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.004596, allocations: 147.7 kB / 254.8 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.004727, allocations: 79.78 kB / 254.8 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.004764, allocations: 20 kB / 254.9 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.004787, allocations: 20 kB / 254.9 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.004832, allocations: 55.75 kB / 254.9 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.004903, allocations: 83.75 kB / 255 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.005111, allocations: 163.4 kB / 255.2 MB, free: 3.707 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005113, allocations: 4 kB / 255.2 MB, free: 3.703 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005114, allocations: 4 kB / 255.2 MB, free: 3.699 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.005119, allocations: 0 / 255.2 MB, free: 3.699 MB / 234.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.0005957/0.005714, allocations: 0.539 MB / 255.7 MB, free: 3.125 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.005751, allocations: 11.98 kB / 255.7 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.005817, allocations: 44.8 kB / 255.8 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.00602, allocations: 192.8 kB / 256 MB, free: 2.855 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.006044, allocations: 16.88 kB / 256 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.006078, allocations: 28.36 kB / 256 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.006347, allocations: 189.1 kB / 256.2 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.006359, allocations: 4.125 kB / 256.2 MB, free: 2.605 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.006378, allocations: 11.94 kB / 256.2 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.006388, allocations: 4 kB / 256.2 MB, free: 2.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.006523, allocations: 75.88 kB / 256.3 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.007249, allocations: 0.7502 MB / 257 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.007522, allocations: 162 kB / 257.2 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.007666, allocations: 67.34 kB / 257.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.007689, allocations: 4 kB / 257.3 MB, free: 1.445 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.007724, allocations: 37.39 kB / 257.3 MB, free: 1.398 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.007725, allocations: 0 / 257.3 MB, free: 1.398 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.001052/0.008777, allocations: 0.6126 MB / 257.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.008818, allocations: 81.05 kB / 258 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.008933, allocations: 217.9 kB / 258.2 MB, free: 408 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.008948, allocations: 29.7 kB / 258.2 MB, free: 372 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.009027, allocations: 199.2 kB / 258.4 MB, free: 168 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.009073, allocations: 95.17 kB / 258.5 MB, free: 72 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.009129, allocations: 55.36 kB / 258.6 MB, free: 8 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.009282, allocations: 0.4962 MB / 259.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.009343, allocations: 35.95 kB / 259.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.009434, allocations: 90.41 kB / 259.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.009595, allocations: 134.3 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.009597, allocations: 0 / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002783/0.009875, allocations: 197.3 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.009892, allocations: 7.281 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.009898, allocations: 7.938 kB / 259.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.009911, allocations: 0 / 259.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01007, allocations: 60 kB / 259.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.01007, allocations: 8 kB / 259.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.01013, allocations: 8 kB / 259.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.01014, allocations: 15.98 kB / 259.6 MB, free: 14.9 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 8.904e-05/0.01023, allocations: 164.5 kB / 259.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.01027, allocations: 31.86 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.01033, allocations: 25.75 kB / 259.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01033, allocations: 4 kB / 259.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01034, allocations: 0 / 259.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01034, allocations: 7.922 kB / 259.8 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.01085, allocations: 0.5192 MB / 260.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01085, allocations: 0 / 260.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.011, allocations: 55.91 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.011, allocations: 4 kB / 260.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01102, allocations: 8 kB / 260.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01102, allocations: 4 kB / 260.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01102, allocations: 3.938 kB / 260.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.0114, allocations: 0.4982 MB / 260.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.01142, allocations: 23.86 kB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01144, allocations: 4 kB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.01152, allocations: 11.98 kB / 261 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.01157, allocations: 23.91 kB / 261 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01158, allocations: 8 kB / 261 MB, free: 13.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.307e-05/0.01165, allocations: 160.2 kB / 261.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01165, allocations: 0 / 261.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.01186, allocations: 51.94 kB / 261.2 MB, free: 13.21 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.692e-05/0.01195, allocations: 99.3 kB / 261.3 MB, free: 13.1 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.01215, allocations: 135.5 kB / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01215, allocations: 0 / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.01223, allocations: 79.47 kB / 261.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01256, allocations: 40.42 kB / 261.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.01344, allocations: 0.5863 MB / 262.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.0135, allocations: 83.97 kB / 262.2 MB, free: 12.11 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.01355, allocations: 21.95 kB / 262.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.0136, allocations: 20.5 kB / 262.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.0136, allocations: 0 / 262.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of Templates: time 0.003882/0.01748, allocations: 1.984 MB / 264.3 MB, free: 10.11 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",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.711665936978534]