Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008213/0.0008213, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003479/0.003479, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8588/0.8588, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.068e-06/4.068e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.847e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001022/0.001051, allocations: 0.5251 MB / 326.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.002635, allocations: 1.469 MB / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.002666, allocations: 0 / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.002683, allocations: 0 / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.003254, allocations: 183.3 kB / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.719e-05/0.003271, allocations: 4 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.00333, allocations: 15.92 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.003377, allocations: 8 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.003433, allocations: 4 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.00349, allocations: 11.98 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.003505, allocations: 7.922 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.003771, allocations: 231.6 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.003784, allocations: 4 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.003803, allocations: 7.984 kB / 328.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.004059, allocations: 215.5 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00406, allocations: 3.938 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.004062, allocations: 0 / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004067, allocations: 0 / 328.5 MB, free: 12.68 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.0003683/0.004435, allocations: 290 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.004475, allocations: 11.98 kB / 328.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.004507, allocations: 4.938 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.004608, allocations: 109.7 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.00462, allocations: 8.375 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004639, allocations: 384 / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.349e-05/0.004712, allocations: 34.27 kB / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.004722, allocations: 192 / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.00473, allocations: 384 / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004735, allocations: 3.938 kB / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.402e-05/0.004769, allocations: 11.98 kB / 328.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.004899, allocations: 105.4 kB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.324e-05/0.004962, allocations: 34.52 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.004981, allocations: 12.86 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.00499, allocations: 4 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.005012, allocations: 38.64 kB / 329.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005013, allocations: 0 / 329.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001305/0.005143, allocations: 49.64 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.005178, allocations: 59.28 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.00524, allocations: 101.9 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.00525, allocations: 25.7 kB / 329.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.005277, allocations: 80.14 kB / 329.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.005307, allocations: 23.83 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.005331, allocations: 17.66 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.00541, allocations: 314.8 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.005423, allocations: 8 kB / 329.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.005446, allocations: 25.7 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.005485, allocations: 26.08 kB / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.005487, allocations: 0 / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.165e-05/0.005549, allocations: 65.56 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005561, allocations: 4 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.005566, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.005578, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.005655, allocations: 8 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.005662, allocations: 11.95 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.005676, allocations: 4 kB / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.00568, allocations: 3.938 kB / 329.9 MB, free: 11.03 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.979e-05/0.00573, allocations: 113.8 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-06/0.005734, allocations: 0 / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.005754, allocations: 3.688 kB / 330 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.005756, allocations: 0 / 330 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.00576, allocations: 3.938 kB / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.005764, allocations: 4 kB / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.709e-05/0.005831, allocations: 109.3 kB / 330.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005832, allocations: 4 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.005874, allocations: 4 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.005874, allocations: 0 / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.005882, allocations: 4 kB / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005882, allocations: 0 / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005883, allocations: 0 / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.005984, allocations: 84.98 kB / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.00599, allocations: 4.031 kB / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006, allocations: 0 / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-06/0.006007, allocations: 0 / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.00602, allocations: 128 / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.006024, allocations: 16 kB / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.343e-05/0.006058, allocations: 87.27 kB / 330.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006058, allocations: 0 / 330.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.006224, allocations: 47.88 kB / 330.4 MB, free: 10.49 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.000183/0.006407, allocations: 171 kB / 330.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.172e-05/0.006469, allocations: 15.98 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.00647, allocations: 7.875 kB / 330.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.006477, allocations: 8 kB / 330.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.00658, allocations: 3.938 kB / 330.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.006801, allocations: 142.6 kB / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.006838, allocations: 67.28 kB / 330.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.006854, allocations: 8.5 kB / 330.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006855, allocations: 0 / 330.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Templates: time 0.001927/0.008782, allocations: 1.226 MB / 332 MB, free: 8.785 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.34118074644357]