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.001776/0.001776, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002291/0.002291, allocations: 213.3 kB / 24.48 MB, free: 3.941 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 2.041/2.041, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.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.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 0.002299/0.002299, allocations: 51.91 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3573, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002407/0.3597, allocations: 0.52 MB / 432.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.3631, allocations: 1.469 MB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.3632, allocations: 0 / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.3632, allocations: 3.938 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009625/0.3641, allocations: 178.4 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.823e-05/0.3642, allocations: 3.984 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.3643, allocations: 19.92 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.3643, allocations: 0 / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.3644, allocations: 8 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.3644, allocations: 11.92 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3644, allocations: 4 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.3651, allocations: 247.7 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.3651, allocations: 3.984 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.3652, allocations: 11.92 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.3656, allocations: 167.4 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3656, allocations: 7.875 kB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3656, allocations: 0 / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3656, allocations: 0 / 435 MB, free: 4.059 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.0005759/0.3662, allocations: 297.9 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3662, allocations: 8.031 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3663, allocations: 4.938 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3664, allocations: 110.5 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3665, allocations: 384 / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3665, allocations: 8.375 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3666, allocations: 38 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3666, allocations: 0 / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3666, allocations: 0 / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3666, allocations: 0 / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.3667, allocations: 11.98 kB / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.3669, allocations: 109.3 kB / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.367, allocations: 30.55 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.367, allocations: 16.86 kB / 435.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3671, allocations: 0 / 435.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.3671, allocations: 34.56 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.3671, allocations: 0 / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002182/0.3673, allocations: 53.66 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.3674, allocations: 51.41 kB / 435.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3675, allocations: 105.8 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3675, allocations: 25.7 kB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3676, allocations: 80.14 kB / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.3676, allocations: 19.89 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.3677, allocations: 17.72 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3679, allocations: 314.8 kB / 436.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.3679, allocations: 8 kB / 436.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.476e-05/0.368, allocations: 17.7 kB / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.603e-05/0.3681, allocations: 38.02 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3681, allocations: 0 / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001523/0.3682, allocations: 53.62 kB / 436.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3682, allocations: 8 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3683, allocations: 3.938 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3683, allocations: 4.031 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3684, allocations: 11.94 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3684, allocations: 0 / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.3684, allocations: 4 kB / 436.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.3685, allocations: 4 kB / 436.4 MB, free: 2.418 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 0.0001106/0.3686, allocations: 109.8 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.3686, allocations: 7.953 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.3686, allocations: 15.56 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3686, allocations: 0 / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3686, allocations: 128 / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3687, allocations: 0 / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3688, allocations: 113.3 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3688, allocations: 0 / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.3689, allocations: 4 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3689, allocations: 0 / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3689, allocations: 4 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.3689, allocations: 3.938 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3689, allocations: 4 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3691, allocations: 73.06 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.3691, allocations: 7.922 kB / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3692, allocations: 4.031 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.3692, allocations: 8 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.3692, allocations: 4 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3692, allocations: 0 / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.3693, allocations: 83.27 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3693, allocations: 0 / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.3698, allocations: 55.88 kB / 436.9 MB, free: 1.867 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.0004083/0.3702, allocations: 151.1 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.3703, allocations: 23.92 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3703, allocations: 3.938 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.3703, allocations: 4.062 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.3706, allocations: 14.06 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.3709, allocations: 130.2 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.866e-05/0.371, allocations: 63.34 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.3711, allocations: 7.984 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.3711, allocations: 7.438 kB / 437.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3711, allocations: 0 / 437.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Templates: time 0.005885/0.377, allocations: 1.147 MB / 438.5 MB, free: 276 kB / 334.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/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: 6.508677827994688]