Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.000831/0.000831, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003483/0.003483, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8606/0.8606, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.792e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.000878/0.0008959, allocations: 0.5243 MB / 326.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.002217, allocations: 1.473 MB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.002249, allocations: 0 / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.002272, allocations: 3.938 kB / 327.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.002746, allocations: 179.4 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.615e-05/0.002762, allocations: 4 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.687e-05/0.002809, allocations: 15.92 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.002846, allocations: 7.984 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.041e-05/0.002896, allocations: 15.92 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.00294, allocations: 4 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.002952, allocations: 0 / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.003194, allocations: 235.7 kB / 328.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.003206, allocations: 11.92 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.00322, allocations: 4 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.003445, allocations: 215.5 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003448, allocations: 4 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003448, allocations: 0 / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.003452, allocations: 0 / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003165/0.003768, allocations: 285.9 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.003799, allocations: 12.03 kB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.003824, allocations: 4.938 kB / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.003907, allocations: 109.8 kB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.003918, allocations: 4.375 kB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.003935, allocations: 384 / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.441e-05/0.003999, allocations: 34.25 kB / 329 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.00401, allocations: 4.188 kB / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.004017, allocations: 384 / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004022, allocations: 3.938 kB / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.004052, allocations: 11.94 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.004157, allocations: 105.3 kB / 329.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.00421, allocations: 34.56 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.004227, allocations: 16.98 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.004235, allocations: 3.938 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.004252, allocations: 30.56 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.004252, allocations: 0 / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001204/0.004373, allocations: 57.58 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.004398, allocations: 55.34 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.004695, allocations: 97.86 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.004703, allocations: 29.69 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.004728, allocations: 84.14 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.004755, allocations: 19.83 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.004777, allocations: 17.72 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.004839, allocations: 318.8 kB / 329.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.00485, allocations: 8 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.004869, allocations: 17.72 kB / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.004903, allocations: 33.66 kB / 329.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004905, allocations: 0 / 329.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.922e-05/0.004954, allocations: 49.69 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.004963, allocations: 4 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.004966, allocations: 3.938 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004977, allocations: 4 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.005034, allocations: 12.02 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.00504, allocations: 7.938 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.005052, allocations: 7.938 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-06/0.005055, allocations: 0 / 330 MB, free: 11.08 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 4.183e-05/0.005097, allocations: 109.8 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-06/0.005101, allocations: 0 / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.005119, allocations: 7.688 kB / 330.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.00512, allocations: 4 kB / 330.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.005124, allocations: 3.938 kB / 330.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005127, allocations: 0 / 330.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.889e-05/0.005175, allocations: 109.4 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005177, allocations: 4 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.005212, allocations: 12 kB / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-07/0.005213, allocations: 0 / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.005219, allocations: 0 / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.00522, allocations: 3.984 kB / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005221, allocations: 0 / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.005309, allocations: 81.45 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-06/0.005313, allocations: 0 / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.005322, allocations: 0 / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-06/0.00533, allocations: 48 / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.005343, allocations: 16.03 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005346, allocations: 7.938 kB / 330.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.356e-05/0.005369, allocations: 83.22 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00537, allocations: 0 / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.005529, allocations: 55.86 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * 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.0001685/0.005697, allocations: 159 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.005762, allocations: 23.92 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005764, allocations: 0 / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-06/0.005771, allocations: 4 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.812e-05/0.005869, allocations: 12.06 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.006069, allocations: 147.1 kB / 330.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.006105, allocations: 63.28 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.006119, allocations: 12.5 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006119, allocations: 3.938 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Templates: time 0.001848/0.007967, allocations: 1.214 MB / 332.1 MB, free: 8.836 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.319567923434079]