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.0009614/0.0009614, allocations: 85.95 kB / 22.99 MB, free: 1.512 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.0009279/0.0009279, allocations: 172.1 kB / 26.4 MB, free: 8.156 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.9299/0.9299, allocations: 158.6 MB / 188.3 MB, free: 2.828 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.162e-06/1.162e-06, allocations: 0 / 252.2 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.673e-05, allocations: 6.25 kB / 252.2 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002672/0.002689, allocations: 2.397 MB / 254.6 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.003627, allocations: 0.6047 MB / 255.2 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.003739, allocations: 7.938 kB / 255.2 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.003871, allocations: 43.58 kB / 255.3 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.003981, allocations: 63.36 kB / 255.3 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.004177, allocations: 71.72 kB / 255.4 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.004408, allocations: 266.7 kB / 255.7 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.004559, allocations: 61.7 kB / 255.7 MB, free: 3.75 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.004728, allocations: 147.7 kB / 255.9 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.004841, allocations: 75.77 kB / 256 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.004871, allocations: 24 kB / 256 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.004893, allocations: 20 kB / 256 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.00493, allocations: 47.77 kB / 256 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.004993, allocations: 83.83 kB / 256.1 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.005186, allocations: 171.3 kB / 256.3 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005188, allocations: 0 / 256.3 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005188, allocations: 4 kB / 256.3 MB, free: 3.188 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.005193, allocations: 0 / 256.3 MB, free: 3.188 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.0005281/0.005721, allocations: 0.539 MB / 256.8 MB, free: 2.613 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.005761, allocations: 15.98 kB / 256.9 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.00582, allocations: 44.8 kB / 256.9 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.006019, allocations: 188.9 kB / 257.1 MB, free: 2.344 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.00604, allocations: 20.88 kB / 257.1 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.006071, allocations: 20.31 kB / 257.1 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.006285, allocations: 189 kB / 257.3 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.006297, allocations: 192 / 257.3 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.006312, allocations: 15.94 kB / 257.3 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.00632, allocations: 4 kB / 257.3 MB, free: 2.082 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.006401, allocations: 55.94 kB / 257.4 MB, free: 2.027 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.007011, allocations: 0.7156 MB / 258.1 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.007241, allocations: 146.1 kB / 258.2 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.007332, allocations: 67.31 kB / 258.3 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.007348, allocations: 11.92 kB / 258.3 MB, free: 1.012 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.007368, allocations: 41.39 kB / 258.4 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.007369, allocations: 0 / 258.4 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007004/0.00807, allocations: 0.5344 MB / 258.9 MB, free: 380 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.008106, allocations: 81.11 kB / 259 MB, free: 280 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.008202, allocations: 213.8 kB / 259.2 MB, free: 48 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.008216, allocations: 33.7 kB / 259.2 MB, free: 8 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.008296, allocations: 191.1 kB / 259.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.008343, allocations: 95.16 kB / 259.5 MB, free: 15.72 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.008399, allocations: 55.33 kB / 259.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.008522, allocations: 0.504 MB / 260.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.729e-05/0.008559, allocations: 31.91 kB / 260.1 MB, free: 15.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.008625, allocations: 78.38 kB / 260.2 MB, free: 15.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.008734, allocations: 130.3 kB / 260.3 MB, free: 14.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008735, allocations: 0 / 260.3 MB, free: 14.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001744/0.00891, allocations: 169.4 kB / 260.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.008921, allocations: 7.281 kB / 260.5 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.008927, allocations: 8.375 kB / 260.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.008936, allocations: 3.938 kB / 260.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.00907, allocations: 55.92 kB / 260.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.009075, allocations: 8.078 kB / 260.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.009123, allocations: 12 kB / 260.5 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.009133, allocations: 8 kB / 260.6 MB, free: 14.6 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.955e-05/0.009213, allocations: 172.5 kB / 260.7 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.009256, allocations: 31.86 kB / 260.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.009294, allocations: 29.8 kB / 260.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.009297, allocations: 7.875 kB / 260.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0093, allocations: 4 kB / 260.8 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.009304, allocations: 0 / 260.8 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.009718, allocations: 480.7 kB / 261.3 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.009723, allocations: 7.922 kB / 261.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.009855, allocations: 51.92 kB / 261.3 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.009858, allocations: 4 kB / 261.3 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.009871, allocations: 11.98 kB / 261.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.009874, allocations: 7.984 kB / 261.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009874, allocations: 0 / 261.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.01017, allocations: 486.7 kB / 261.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.01018, allocations: 23.89 kB / 261.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.0102, allocations: 12 kB / 261.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.01028, allocations: 8 kB / 261.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.01032, allocations: 23.95 kB / 261.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.01033, allocations: 4 kB / 261.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.523e-05/0.01039, allocations: 151.1 kB / 262 MB, free: 13.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01039, allocations: 0 / 262 MB, free: 13.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.0106, allocations: 52 kB / 262.1 MB, free: 12.97 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.485e-05/0.01068, allocations: 99.19 kB / 262.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.01084, allocations: 115.5 kB / 262.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01084, allocations: 0 / 262.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.01091, allocations: 79.44 kB / 262.4 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01121, allocations: 40.38 kB / 262.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.01198, allocations: 0.5903 MB / 263 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.01203, allocations: 79.98 kB / 263.1 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.01209, allocations: 21.94 kB / 263.1 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.0122, allocations: 106.2 kB / 263.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0122, allocations: 0 / 263.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of Templates: time 0.003867/0.01607, allocations: 2.223 MB / 265.4 MB, free: 9.566 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.805363561026752]