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.0009666/0.0009666, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001621/0.001621, allocations: 147.4 kB / 24.9 MB, free: 8.727 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.947/0.947, allocations: 173.4 MB / 201.5 MB, free: 8.742 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.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 1.282e-06/1.282e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.224e-05, allocations: 10.19 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001265/0.001287, allocations: 0.5754 MB / 269.1 MB, free: 5.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.002818, allocations: 1.463 MB / 270.5 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.002855, allocations: 4 kB / 270.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.00287, allocations: 4 kB / 270.6 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.003326, allocations: 147.4 kB / 270.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.679e-05/0.003343, allocations: 11.88 kB / 270.7 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.499e-05/0.003388, allocations: 15.92 kB / 270.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.003422, allocations: 0 / 270.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.003482, allocations: 19.91 kB / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.003526, allocations: 4 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.003537, allocations: 4 kB / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.003849, allocations: 247.7 kB / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.003859, allocations: 3.984 kB / 271 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.003872, allocations: 7.938 kB / 271 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.004088, allocations: 211.5 kB / 271.2 MB, free: 3.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.004092, allocations: 4 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004092, allocations: 0 / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004096, allocations: 0 / 271.2 MB, free: 3.254 MB / 250.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.00027/0.004366, allocations: 256.3 kB / 271.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.004398, allocations: 12.92 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.004423, allocations: 0.9375 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.38e-05/0.004507, allocations: 118 kB / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.004515, allocations: 384 / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.004532, allocations: 12.36 kB / 271.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.552e-05/0.004588, allocations: 34.25 kB / 271.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.004596, allocations: 192 / 271.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.004602, allocations: 384 / 271.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004608, allocations: 3.938 kB / 271.6 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.004624, allocations: 7.984 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.478e-05/0.004709, allocations: 61.05 kB / 271.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.00476, allocations: 42.48 kB / 271.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.137e-05/0.004772, allocations: 8.859 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.004777, allocations: 0 / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.004797, allocations: 34.56 kB / 271.8 MB, free: 2.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.004798, allocations: 0 / 271.8 MB, free: 2.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 8.073e-05/0.004879, allocations: 37.78 kB / 271.8 MB, free: 2.543 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.004904, allocations: 55.41 kB / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.16e-05/0.004955, allocations: 106.7 kB / 272 MB, free: 2.359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.004962, allocations: 25.7 kB / 272 MB, free: 2.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.004982, allocations: 84.08 kB / 272.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.005009, allocations: 23.84 kB / 272.1 MB, free: 2.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.005031, allocations: 13.72 kB / 272.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.005101, allocations: 322.8 kB / 272.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.005109, allocations: 4 kB / 272.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.005127, allocations: 21.72 kB / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.005154, allocations: 21.7 kB / 272.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.005156, allocations: 4 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.749e-05/0.005204, allocations: 45.62 kB / 272.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005215, allocations: 6.969 kB / 272.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005219, allocations: 32 / 272.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.005231, allocations: 8.422 kB / 272.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.005312, allocations: 8 kB / 272.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.005315, allocations: 0 / 272.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.005329, allocations: 3.938 kB / 272.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.005333, allocations: 3.984 kB / 272.6 MB, free: 1.734 MB / 250.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 5.097e-05/0.005384, allocations: 121.8 kB / 272.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.00539, allocations: 0 / 272.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.005413, allocations: 11.67 kB / 272.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005415, allocations: 0 / 272.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005416, allocations: 0 / 272.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005418, allocations: 4 kB / 272.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.563e-05/0.005474, allocations: 69.83 kB / 272.8 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.005476, allocations: 4 kB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.005517, allocations: 4 kB / 272.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005519, allocations: 0 / 272.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.005527, allocations: 4 kB / 272.8 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005528, allocations: 3.938 kB / 272.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005529, allocations: 4 kB / 272.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.633e-05/0.005605, allocations: 72.98 kB / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.005612, allocations: 7.953 kB / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.005624, allocations: 4.031 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-06/0.005632, allocations: 0 / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-06/0.005641, allocations: 0 / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.005644, allocations: 4 kB / 272.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.42e-05/0.005658, allocations: 20.83 kB / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005658, allocations: 0 / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.005808, allocations: 47.88 kB / 273 MB, free: 1.309 MB / 250.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.0001731/0.005982, allocations: 140.2 kB / 273.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.635e-05/0.006038, allocations: 20.97 kB / 273.1 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.00604, allocations: 4.062 kB / 273.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.006049, allocations: 12.8 kB / 273.1 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.015e-05/0.00611, allocations: 7.938 kB / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/0.006276, allocations: 116.6 kB / 273.3 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.51e-05/0.006301, allocations: 55.34 kB / 273.3 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.053e-05/0.006332, allocations: 8 kB / 273.3 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.006359, allocations: 51.38 kB / 273.4 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00636, allocations: 0 / 273.4 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of Templates: time 0.002572/0.008931, allocations: 1.281 MB / 274.6 MB, free: 15.56 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4931200118735433]