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.001018/0.001018, allocations: 83.73 kB / 21.97 MB, free: 2.598 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.001121/0.001121, allocations: 169.7 kB / 25.33 MB, free: 9.461 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.8826/0.8826, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.843e-06/1.843e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.063e-05, allocations: 6.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002562/0.002593, allocations: 2.419 MB / 253.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.004555, allocations: 0.6047 MB / 254.1 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.004744, allocations: 7.938 kB / 254.1 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.004893, allocations: 35.66 kB / 254.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.005015, allocations: 71.3 kB / 254.2 MB, free: 448 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.005259, allocations: 63.84 kB / 254.2 MB, free: 384 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.005547, allocations: 266.7 kB / 254.5 MB, free: 116 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.005698, allocations: 69.64 kB / 254.6 MB, free: 48 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.005877, allocations: 147.7 kB / 254.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005988, allocations: 83.77 kB / 254.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.006021, allocations: 20 kB / 254.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.006045, allocations: 20 kB / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.006079, allocations: 47.83 kB / 254.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.006142, allocations: 79.77 kB / 254.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.006346, allocations: 167.4 kB / 255.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.006351, allocations: 0 / 255.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.006353, allocations: 4 kB / 255.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.006358, allocations: 0 / 255.1 MB, free: 15.49 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.0005746/0.006933, allocations: 0.5507 MB / 255.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.006971, allocations: 11.98 kB / 255.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.007039, allocations: 40.8 kB / 255.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.007245, allocations: 192.9 kB / 255.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.007267, allocations: 12.88 kB / 255.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.0073, allocations: 24.38 kB / 255.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.007559, allocations: 193 kB / 256.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.007572, allocations: 4.188 kB / 256.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.007589, allocations: 15.94 kB / 256.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.007598, allocations: 4 kB / 256.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.00772, allocations: 75.92 kB / 256.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.008518, allocations: 0.7424 MB / 257 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.008796, allocations: 158 kB / 257.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.008931, allocations: 79.48 kB / 257.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.008953, allocations: 7.984 kB / 257.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.008981, allocations: 37.33 kB / 257.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.008983, allocations: 0 / 257.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009595/0.009942, allocations: 0.6115 MB / 257.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.009974, allocations: 77.11 kB / 257.9 MB, free: 12.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.01008, allocations: 213.9 kB / 258.1 MB, free: 12.19 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.0101, allocations: 29.7 kB / 258.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.01017, allocations: 203.1 kB / 258.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.01023, allocations: 95.16 kB / 258.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.01028, allocations: 55.36 kB / 258.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.01039, allocations: 0.5001 MB / 259 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.01044, allocations: 31.97 kB / 259 MB, free: 11.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.01052, allocations: 94.33 kB / 259.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.01067, allocations: 134.4 kB / 259.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01067, allocations: 0 / 259.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002051/0.01088, allocations: 189.4 kB / 259.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01089, allocations: 7.984 kB / 259.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.0109, allocations: 7.938 kB / 259.5 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01091, allocations: 3.938 kB / 259.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.01105, allocations: 59.97 kB / 259.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.01106, allocations: 7.938 kB / 259.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.01111, allocations: 8 kB / 259.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01112, allocations: 8 kB / 259.6 MB, free: 10.69 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.509e-05/0.0112, allocations: 172.6 kB / 259.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.01124, allocations: 27.89 kB / 259.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.01128, allocations: 33.73 kB / 259.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01128, allocations: 4 kB / 259.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01129, allocations: 0 / 259.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01129, allocations: 0 / 259.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.01175, allocations: 0.5162 MB / 260.3 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01175, allocations: 0 / 260.3 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.01189, allocations: 59.91 kB / 260.4 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01189, allocations: 12.03 kB / 260.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.0119, allocations: 0 / 260.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01191, allocations: 4 kB / 260.4 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01191, allocations: 0 / 260.4 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.01224, allocations: 0.5058 MB / 260.9 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.01226, allocations: 23.84 kB / 260.9 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01228, allocations: 4 kB / 260.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.01235, allocations: 4 kB / 260.9 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.0124, allocations: 19.97 kB / 260.9 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.01241, allocations: 12 kB / 260.9 MB, free: 9.199 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.102e-05/0.01247, allocations: 168.1 kB / 261.1 MB, free: 9.035 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01247, allocations: 0 / 261.1 MB, free: 9.035 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.01268, allocations: 47.94 kB / 261.2 MB, free: 8.988 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.243e-05/0.01276, allocations: 103.2 kB / 261.3 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.01295, allocations: 127.5 kB / 261.4 MB, free: 8.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01295, allocations: 0 / 261.4 MB, free: 8.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.01303, allocations: 78.17 kB / 261.5 MB, free: 8.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.01334, allocations: 50.48 kB / 261.5 MB, free: 8.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.01418, allocations: 0.586 MB / 262.1 MB, free: 7.992 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.01423, allocations: 83.98 kB / 262.2 MB, free: 7.891 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.01429, allocations: 21.94 kB / 262.2 MB, free: 7.867 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.01434, allocations: 24.48 kB / 262.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01434, allocations: 0 / 262.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of Templates: time 0.003887/0.01822, allocations: 2.095 MB / 264.3 MB, free: 5.777 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.746308865956962]