Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001317/0.001317, allocations: 76.08 kB / 20.68 MB, free: 1.016 MB / 14.72 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.001342/0.001342, allocations: 163.3 kB / 23.96 MB, free: 4.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.026e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003294/0.003314, allocations: 2.309 MB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004458, allocations: 0.6522 MB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.004569, allocations: 7.938 kB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.004704, allocations: 33.47 kB / 328.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.004852, allocations: 72.56 kB / 328.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.0052, allocations: 79.33 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.005607, allocations: 265.3 kB / 328.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.005829, allocations: 67.55 kB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.006212, allocations: 160.4 kB / 328.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.006409, allocations: 81.03 kB / 328.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.006463, allocations: 20.47 kB / 328.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.006557, allocations: 23.12 kB / 328.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.006626, allocations: 46.97 kB / 328.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.006753, allocations: 80.38 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.007167, allocations: 261 kB / 329.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.007171, allocations: 0 / 329.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.007172, allocations: 0 / 329.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.007179, allocations: 5.719 kB / 329.2 MB, free: 13.99 MB / 302.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.0008352/0.008014, allocations: 465 kB / 329.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.008049, allocations: 9.531 kB / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.008305, allocations: 46.38 kB / 329.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.008583, allocations: 182.8 kB / 329.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.008603, allocations: 12.56 kB / 329.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.008653, allocations: 25.39 kB / 329.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.009106, allocations: 215 kB / 330.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.009123, allocations: 1.375 kB / 330.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.009154, allocations: 14.28 kB / 330.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.009162, allocations: 4.812 kB / 330.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.00951, allocations: 145.2 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01063, allocations: 0.6663 MB / 331 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.01107, allocations: 187.6 kB / 331.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.0113, allocations: 93.64 kB / 331.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01133, allocations: 2.094 kB / 331.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.01136, allocations: 41.81 kB / 331.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.01136, allocations: 0 / 331.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001612/0.01298, allocations: 0.7181 MB / 332 MB, free: 12.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.01303, allocations: 85.05 kB / 332.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.0132, allocations: 174.3 kB / 332.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.01322, allocations: 30.64 kB / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.01332, allocations: 150.4 kB / 332.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.01341, allocations: 98.22 kB / 332.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.01349, allocations: 47.61 kB / 332.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.01363, allocations: 327.6 kB / 332.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.01379, allocations: 67.36 kB / 332.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.01398, allocations: 109.9 kB / 333.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.01433, allocations: 191.6 kB / 333.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01434, allocations: 1.062 kB / 333.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000458/0.01479, allocations: 246.6 kB / 333.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01481, allocations: 6.469 kB / 333.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.01482, allocations: 5.031 kB / 333.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.01484, allocations: 2.125 kB / 333.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.0151, allocations: 63.16 kB / 333.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01511, allocations: 7.109 kB / 333.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.01522, allocations: 14.17 kB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.01524, allocations: 10.34 kB / 333.6 MB, free: 10.75 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.0001316/0.01537, allocations: 136.2 kB / 333.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.01545, allocations: 25.92 kB / 333.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.01551, allocations: 25.88 kB / 333.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.01552, allocations: 6.703 kB / 333.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.01552, allocations: 1.281 kB / 333.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01553, allocations: 0 / 333.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.01634, allocations: 0.4895 MB / 334.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01634, allocations: 1.125 kB / 334.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.01662, allocations: 61.31 kB / 334.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01662, allocations: 2.062 kB / 334.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.01664, allocations: 6.25 kB / 334.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.01665, allocations: 2.125 kB / 334.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01665, allocations: 2.125 kB / 334.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.01734, allocations: 0.4955 MB / 334.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.01737, allocations: 18.47 kB / 334.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.01741, allocations: 10.77 kB / 334.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.01758, allocations: 8.344 kB / 334.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.01765, allocations: 16.25 kB / 334.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.01767, allocations: 9.375 kB / 334.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.958e-05/0.01777, allocations: 123.9 kB / 335 MB, free: 9.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01777, allocations: 0 / 335 MB, free: 9.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.01812, allocations: 57.59 kB / 335.1 MB, free: 9.629 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.0001291/0.01825, allocations: 103.1 kB / 335.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.01866, allocations: 173.8 kB / 335.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01866, allocations: 3.938 kB / 335.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.01885, allocations: 93.64 kB / 335.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.01935, allocations: 39.11 kB / 335.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.02043, allocations: 0.5859 MB / 336.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.02057, allocations: 143.2 kB / 336.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.081e-05/0.02065, allocations: 17.3 kB / 336.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.02072, allocations: 28.77 kB / 336.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02072, allocations: 0 / 336.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of Templates: time 0.00558/0.0263, allocations: 1.97 MB / 338.2 MB, free: 7.605 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.179327040910721]