Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 79.39 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 147.6 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.442e-05, allocations: 3.125 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003222/0.003246, allocations: 2.286 MB / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004361, allocations: 0.5472 MB / 321.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.004571, allocations: 8.594 kB / 321.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.004749, allocations: 39.03 kB / 321.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.004944, allocations: 71.45 kB / 321.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.005226, allocations: 71.14 kB / 321.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.005582, allocations: 264.5 kB / 322.2 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.00578, allocations: 70.33 kB / 322.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.006044, allocations: 145 kB / 322.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.006213, allocations: 80.53 kB / 322.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.006262, allocations: 20.44 kB / 322.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.085e-05/0.006313, allocations: 20.28 kB / 322.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.006359, allocations: 50.48 kB / 322.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.006464, allocations: 77.48 kB / 322.6 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.006796, allocations: 257.9 kB / 322.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006799, allocations: 3.938 kB / 322.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0068, allocations: 4 kB / 322.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.006809, allocations: 0 / 322.9 MB, free: 1.09 MB / 286.1 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.0007708/0.00758, allocations: 456.1 kB / 323.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.007616, allocations: 9.406 kB / 323.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.007687, allocations: 30.22 kB / 323.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.007952, allocations: 177.1 kB / 323.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.007971, allocations: 16.91 kB / 323.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.008013, allocations: 26.44 kB / 323.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.008414, allocations: 215 kB / 323.8 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.008433, allocations: 2.625 kB / 323.8 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.008456, allocations: 17.66 kB / 323.8 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.008463, allocations: 5.375 kB / 323.8 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.008796, allocations: 148.1 kB / 324 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.009877, allocations: 0.6615 MB / 324.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.01035, allocations: 189.9 kB / 324.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.01061, allocations: 97.23 kB / 324.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.01064, allocations: 3 kB / 324.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.01067, allocations: 33.88 kB / 325 MB, free: 15.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.634e-06/0.01067, allocations: 4 kB / 325 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001769/0.01244, allocations: 0.7285 MB / 325.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.01253, allocations: 82.03 kB / 325.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.01273, allocations: 163.4 kB / 325.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.01277, allocations: 31.08 kB / 326 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.01291, allocations: 146.5 kB / 326.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.01303, allocations: 100.7 kB / 326.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01314, allocations: 48.05 kB / 326.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.01336, allocations: 328.8 kB / 326.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.01355, allocations: 65.69 kB / 326.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.01379, allocations: 104.6 kB / 326.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.01418, allocations: 195.2 kB / 326.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01418, allocations: 0 / 326.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004959/0.01468, allocations: 236.9 kB / 327.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.01469, allocations: 6.078 kB / 327.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.0147, allocations: 1.438 kB / 327.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.01472, allocations: 6.281 kB / 327.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.01498, allocations: 64.42 kB / 327.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.01499, allocations: 7.312 kB / 327.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.01512, allocations: 15.75 kB / 327.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.01515, allocations: 10.67 kB / 327.3 MB, free: 14.04 MB / 302.1 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 0.0001638/0.01531, allocations: 136.3 kB / 327.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.01538, allocations: 18.25 kB / 327.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.01545, allocations: 26.83 kB / 327.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.01546, allocations: 8.156 kB / 327.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.01547, allocations: 1.312 kB / 327.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01548, allocations: 1.125 kB / 327.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009618/0.01644, allocations: 0.4957 MB / 327.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01644, allocations: 1.125 kB / 327.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.01673, allocations: 61.19 kB / 328 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.01674, allocations: 2.406 kB / 328 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.01676, allocations: 7.078 kB / 328 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.01677, allocations: 2.344 kB / 328 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.01677, allocations: 1.891 kB / 328 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.01757, allocations: 495.2 kB / 328.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.01762, allocations: 22.8 kB / 328.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.01766, allocations: 7.969 kB / 328.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.01783, allocations: 9.938 kB / 328.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.0179, allocations: 15.72 kB / 328.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.01792, allocations: 18.98 kB / 328.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.01804, allocations: 124.4 kB / 328.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01804, allocations: 0 / 328.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000366/0.0184, allocations: 50.53 kB / 328.7 MB, free: 13.03 MB / 302.1 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 0.0001379/0.01854, allocations: 108.2 kB / 328.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.019, allocations: 164 kB / 329 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.019, allocations: 0 / 329 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.0192, allocations: 94.45 kB / 329.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.01971, allocations: 38.66 kB / 329.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.02095, allocations: 0.5808 MB / 329.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.02112, allocations: 137.6 kB / 329.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.0212, allocations: 17.17 kB / 329.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.02127, allocations: 21.52 kB / 329.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02127, allocations: 0 / 329.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Templates: time 0.006009/0.02728, allocations: 1.973 MB / 331.9 MB, free: 11.93 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.239116068929434]