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.0008406/0.0008406, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004839/0.004839, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8551/0.8551, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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.783e-06/1.783e-06, allocations: 0 / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.473e-05, allocations: 13.59 kB / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003362/0.003387, allocations: 2.286 MB / 322 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.004341, allocations: 0.5492 MB / 322.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.00446, allocations: 4 kB / 322.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.004611, allocations: 43.52 kB / 322.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.004705, allocations: 71.36 kB / 322.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.004903, allocations: 71.77 kB / 322.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.005097, allocations: 258.7 kB / 322.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.005236, allocations: 69.69 kB / 323 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.005368, allocations: 143.7 kB / 323.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.005465, allocations: 83.77 kB / 323.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.005497, allocations: 20 kB / 323.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.005516, allocations: 20 kB / 323.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.005547, allocations: 47.77 kB / 323.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.005605, allocations: 83.81 kB / 323.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.005814, allocations: 259.1 kB / 323.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005816, allocations: 0 / 323.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005817, allocations: 0 / 323.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005821, allocations: 0 / 323.7 MB, free: 1.855 MB / 282.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.0004969/0.006318, allocations: 461.6 kB / 324.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.006349, allocations: 8.031 kB / 324.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.006391, allocations: 28.8 kB / 324.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.006581, allocations: 174.1 kB / 324.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.006594, allocations: 16.88 kB / 324.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.006625, allocations: 32.2 kB / 324.4 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.006881, allocations: 218.7 kB / 324.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.006893, allocations: 8.188 kB / 324.6 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.006909, allocations: 11.94 kB / 324.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.006915, allocations: 4 kB / 324.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.007102, allocations: 143.9 kB / 324.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.007758, allocations: 0.6585 MB / 325.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.008015, allocations: 189 kB / 325.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.008152, allocations: 97.67 kB / 325.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.008169, allocations: 7.938 kB / 325.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.008185, allocations: 30.56 kB / 325.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.008186, allocations: 0 / 325.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009321/0.009118, allocations: 0.7319 MB / 326.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.00915, allocations: 77.11 kB / 326.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.009238, allocations: 166.3 kB / 326.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.009253, allocations: 29.7 kB / 326.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.009313, allocations: 140.5 kB / 326.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.009357, allocations: 95.12 kB / 326.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.009405, allocations: 45.7 kB / 327 MB, free: 14.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.00948, allocations: 334.8 kB / 327.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.009568, allocations: 63.97 kB / 327.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.846e-05/0.009666, allocations: 112.2 kB / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.009863, allocations: 190.4 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.009864, allocations: 0 / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002424/0.01011, allocations: 241.4 kB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.01012, allocations: 8 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01012, allocations: 3.938 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.01013, allocations: 4 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.01026, allocations: 59.91 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.01027, allocations: 0 / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.01032, allocations: 15.95 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01033, allocations: 11.94 kB / 328 MB, free: 13.21 MB / 298.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.753e-05/0.01041, allocations: 137.8 kB / 328.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.01044, allocations: 19.97 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.01047, allocations: 29.75 kB / 328.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01048, allocations: 7.938 kB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.01048, allocations: 7.875 kB / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01048, allocations: 3.984 kB / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.01093, allocations: 496.4 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01094, allocations: 0 / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01107, allocations: 64 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01107, allocations: 4 kB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01108, allocations: 11.98 kB / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01109, allocations: 4 kB / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01109, allocations: 0 / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.01147, allocations: 489.6 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.01149, allocations: 23.8 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.01151, allocations: 8 kB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.01159, allocations: 16.03 kB / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.01163, allocations: 15.97 kB / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01164, allocations: 8 kB / 329.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.531e-05/0.01169, allocations: 124.5 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01169, allocations: 0 / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.01189, allocations: 51.94 kB / 329.5 MB, free: 11.64 MB / 298.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 7.686e-05/0.01197, allocations: 107.2 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.0122, allocations: 178.4 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.0122, allocations: 0 / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.846e-05/0.0123, allocations: 91.83 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01259, allocations: 32.69 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.01324, allocations: 0.6014 MB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.01333, allocations: 141.8 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.01338, allocations: 28.48 kB / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01338, allocations: 0 / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of Templates: time 0.002607/0.01599, allocations: 2.693 MB / 333.4 MB, free: 7.715 MB / 298.7 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.034563883207738]