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.001451/0.001451, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001556/0.001556, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9317/0.9317, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.723e-06/1.723e-06, allocations: 0 / 251.4 MB, free: 7.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.593e-05, allocations: 6.25 kB / 251.5 MB, free: 7.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00284/0.002866, allocations: 2.393 MB / 253.8 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008363/0.003703, allocations: 0.6047 MB / 254.4 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.003823, allocations: 7.938 kB / 254.5 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.003943, allocations: 43.58 kB / 254.5 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.004049, allocations: 67.36 kB / 254.6 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.004248, allocations: 67.78 kB / 254.6 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.004477, allocations: 262.7 kB / 254.9 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.004628, allocations: 61.7 kB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.00482, allocations: 151.7 kB / 255.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.004956, allocations: 79.77 kB / 255.2 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.004992, allocations: 20 kB / 255.2 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.00502, allocations: 23.94 kB / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.005069, allocations: 47.83 kB / 255.3 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.005148, allocations: 75.83 kB / 255.3 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.005397, allocations: 175.4 kB / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.0054, allocations: 0 / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005401, allocations: 0 / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.005406, allocations: 0 / 255.5 MB, free: 3.273 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.0005922/0.005998, allocations: 0.5467 MB / 256.1 MB, free: 2.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.006047, allocations: 15.98 kB / 256.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.006108, allocations: 40.73 kB / 256.1 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.006311, allocations: 188.9 kB / 256.3 MB, free: 2.422 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.006333, allocations: 16.88 kB / 256.3 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.006365, allocations: 20.38 kB / 256.3 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.006599, allocations: 181 kB / 256.5 MB, free: 2.191 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.006612, allocations: 4.125 kB / 256.5 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.00663, allocations: 15.94 kB / 256.5 MB, free: 2.172 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.006639, allocations: 8 kB / 256.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.006724, allocations: 55.94 kB / 256.6 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.007418, allocations: 0.7234 MB / 257.3 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.007627, allocations: 146.1 kB / 257.5 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.007719, allocations: 67.31 kB / 257.5 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.00774, allocations: 8 kB / 257.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.007763, allocations: 37.39 kB / 257.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.007765, allocations: 3.938 kB / 257.6 MB, free: 1.039 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007369/0.008502, allocations: 0.5386 MB / 258.1 MB, free: 452 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.008534, allocations: 77.11 kB / 258.2 MB, free: 356 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.008631, allocations: 213.8 kB / 258.4 MB, free: 124 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.008653, allocations: 33.7 kB / 258.4 MB, free: 84 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.008746, allocations: 191.1 kB / 258.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.008801, allocations: 99.16 kB / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.008858, allocations: 55.33 kB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.00899, allocations: 0.5001 MB / 259.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.00903, allocations: 27.97 kB / 259.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.009095, allocations: 82.38 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.009216, allocations: 130.2 kB / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009218, allocations: 0 / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000182/0.0094, allocations: 165.5 kB / 259.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.009415, allocations: 7.984 kB / 259.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.009422, allocations: 4 kB / 259.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.009439, allocations: 4.031 kB / 259.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.00959, allocations: 67.91 kB / 259.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.009595, allocations: 4 kB / 259.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.009642, allocations: 11.94 kB / 259.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.009651, allocations: 4 kB / 259.8 MB, free: 14.67 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.936e-05/0.009741, allocations: 172.5 kB / 259.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.009788, allocations: 35.8 kB / 260 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.009847, allocations: 29.8 kB / 260 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.009851, allocations: 3.938 kB / 260 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.009855, allocations: 4 kB / 260 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.00986, allocations: 4 kB / 260 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.0103, allocations: 480.6 kB / 260.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.0103, allocations: 3.938 kB / 260.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.01045, allocations: 55.92 kB / 260.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.01046, allocations: 7.984 kB / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01047, allocations: 0 / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01047, allocations: 4 kB / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01047, allocations: 0 / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.01081, allocations: 495 kB / 261 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.01083, allocations: 23.8 kB / 261.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01084, allocations: 12 kB / 261.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.01092, allocations: 8.047 kB / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.01096, allocations: 27.94 kB / 261.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.01097, allocations: 4 kB / 261.1 MB, free: 13.24 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.01102, allocations: 155.1 kB / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.01122, allocations: 52 kB / 261.3 MB, free: 13.04 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 9.101e-05/0.01131, allocations: 103.2 kB / 261.4 MB, free: 12.93 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.01146, allocations: 111.5 kB / 261.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01146, allocations: 0 / 261.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.01153, allocations: 79.58 kB / 261.6 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.01184, allocations: 39.86 kB / 261.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.01263, allocations: 0.5863 MB / 262.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.042e-05/0.01268, allocations: 79.98 kB / 262.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.01274, allocations: 25.94 kB / 262.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.01284, allocations: 110.2 kB / 262.4 MB, free: 11.83 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01284, allocations: 0 / 262.4 MB, free: 11.83 MB / 250.7 MB Notification: Performance of Templates: time 0.003812/0.01665, allocations: 2.161 MB / 264.6 MB, free: 9.699 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.7228385312482715]