Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.00128/0.00128, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.001317/0.001317, allocations: 152.4 kB / 24.49 MB, free: 3.727 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.434/1.434, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 51.17 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.09012, allocations: 52.15 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001636/0.09176, allocations: 0.5372 MB / 372.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.09368, allocations: 1.406 MB / 373.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.0937, allocations: 0 / 373.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.09372, allocations: 0 / 373.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005659/0.09428, allocations: 178.5 kB / 373.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.622e-05/0.09431, allocations: 11.92 kB / 373.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.09436, allocations: 12 kB / 373.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.0944, allocations: 3.984 kB / 373.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.09444, allocations: 11.88 kB / 373.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.09448, allocations: 8 kB / 373.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.09449, allocations: 0 / 373.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.09487, allocations: 227.7 kB / 373.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.09489, allocations: 7.922 kB / 374 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.09491, allocations: 8 kB / 374 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.09518, allocations: 171.5 kB / 374.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.09519, allocations: 4 kB / 374.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09519, allocations: 0 / 374.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.09519, allocations: 3.984 kB / 374.1 MB, free: 4.77 MB / 334.1 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.0004051/0.0956, allocations: 290 kB / 374.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.09564, allocations: 8.922 kB / 374.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.09566, allocations: 12.89 kB / 374.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.09579, allocations: 114.5 kB / 374.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.0958, allocations: 384 / 374.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.09582, allocations: 384 / 374.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.891e-05/0.0959, allocations: 34.02 kB / 374.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/0.09591, allocations: 0 / 374.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.09592, allocations: 7.984 kB / 374.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.09592, allocations: 0 / 374.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.09595, allocations: 11.94 kB / 374.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.09611, allocations: 105.4 kB / 374.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.09619, allocations: 30.58 kB / 374.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.09622, allocations: 16.84 kB / 374.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.09623, allocations: 96 / 374.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.09625, allocations: 38.48 kB / 374.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.09625, allocations: 0 / 374.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001303/0.09638, allocations: 53.56 kB / 374.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.09642, allocations: 59.34 kB / 374.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.09651, allocations: 97.86 kB / 375 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.09653, allocations: 25.7 kB / 375 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.09658, allocations: 88.14 kB / 375.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.0966, allocations: 11.89 kB / 375.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.09663, allocations: 17.72 kB / 375.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.09678, allocations: 314.8 kB / 375.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.0968, allocations: 11.98 kB / 375.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.09683, allocations: 21.84 kB / 375.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.09688, allocations: 29.66 kB / 375.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.09689, allocations: 4 kB / 375.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.318e-05/0.09698, allocations: 61.58 kB / 375.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.09699, allocations: 4 kB / 375.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.09699, allocations: 3.938 kB / 375.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.09701, allocations: 4 kB / 375.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.09709, allocations: 12.02 kB / 375.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.09709, allocations: 4 kB / 375.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.09711, allocations: 3.938 kB / 375.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.09712, allocations: 0 / 375.6 MB, free: 3.121 MB / 334.1 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 7.217e-05/0.09719, allocations: 109.8 kB / 375.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.0972, allocations: 0 / 375.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.09722, allocations: 11.62 kB / 375.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.09723, allocations: 4 kB / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.09723, allocations: 0 / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.09723, allocations: 0 / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.615e-05/0.09733, allocations: 109.3 kB / 375.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.09733, allocations: 0 / 375.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.09739, allocations: 8 kB / 375.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.09739, allocations: 0 / 375.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.0974, allocations: 0 / 375.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.0974, allocations: 3.938 kB / 375.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.0974, allocations: 7.922 kB / 375.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.09753, allocations: 85.09 kB / 375.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.09754, allocations: 480 / 375.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.09755, allocations: 0 / 375.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.09757, allocations: 3.938 kB / 375.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.09758, allocations: 12 kB / 376 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.09759, allocations: 0 / 376 MB, free: 2.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.09764, allocations: 91.25 kB / 376 MB, free: 2.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09764, allocations: 3.938 kB / 376 MB, free: 2.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000246/0.09789, allocations: 47.88 kB / 376.1 MB, free: 2.57 MB / 334.1 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.0002374/0.09813, allocations: 147.1 kB / 376.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.09821, allocations: 23.92 kB / 376.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.09821, allocations: 0 / 376.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.09823, allocations: 8 kB / 376.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.09841, allocations: 4.062 kB / 376.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.09867, allocations: 138 kB / 376.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.425e-05/0.09874, allocations: 67.28 kB / 376.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.09881, allocations: 7.984 kB / 376.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.09883, allocations: 8.5 kB / 376.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09883, allocations: 0 / 376.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Templates: time 0.003862/0.1027, allocations: 1.07 MB / 377.6 MB, free: 1.047 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.1237642030464485]