Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001506/0.001506, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.00138/0.00138, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.384/1.384, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 71.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2542, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001661/0.2559, allocations: 0.5277 MB / 432.6 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.258, allocations: 1.567 MB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.258, allocations: 0 / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.258, allocations: 0 / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.2586, allocations: 177.8 kB / 434.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.223e-05/0.2586, allocations: 0 / 434.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.2587, allocations: 23.91 kB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.2587, allocations: 4 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.2588, allocations: 3.938 kB / 434.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.2588, allocations: 7.938 kB / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.2589, allocations: 0 / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.2593, allocations: 251.7 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.2593, allocations: 7.938 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.2593, allocations: 15.97 kB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.2596, allocations: 173.1 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2596, allocations: 0 / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2596, allocations: 0 / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2596, allocations: 0 / 434.8 MB, free: 4.625 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.0005218/0.2601, allocations: 367 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2602, allocations: 12.03 kB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.2602, allocations: 0.9375 kB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.2604, allocations: 172.3 kB / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2604, allocations: 4.375 kB / 435.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.2604, allocations: 384 / 435.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.2605, allocations: 42.02 kB / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2605, allocations: 0 / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2605, allocations: 0 / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.2605, allocations: 7.938 kB / 435.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.2605, allocations: 7.984 kB / 435.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.2607, allocations: 153.7 kB / 435.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.2608, allocations: 42.55 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.2608, allocations: 8.859 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2608, allocations: 4 kB / 435.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2609, allocations: 38.48 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2609, allocations: 0 / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.261, allocations: 53.67 kB / 435.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.2611, allocations: 51.41 kB / 435.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2612, allocations: 109.8 kB / 435.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2612, allocations: 25.7 kB / 435.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.2612, allocations: 80.14 kB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.2612, allocations: 11.91 kB / 436 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.2613, allocations: 17.72 kB / 436 MB, free: 3.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2614, allocations: 318.8 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.2614, allocations: 4 kB / 436.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.2615, allocations: 17.84 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.2615, allocations: 45.64 kB / 436.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2615, allocations: 0 / 436.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.153e-05/0.2616, allocations: 45.7 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2616, allocations: 11.92 kB / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2616, allocations: 0 / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2617, allocations: 4 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.2617, allocations: 11.88 kB / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2617, allocations: 4 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.2618, allocations: 4.031 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.2618, allocations: 0 / 436.4 MB, free: 2.75 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 8.752e-05/0.2619, allocations: 113.8 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.2619, allocations: 3.938 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.2619, allocations: 7.484 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2619, allocations: 0 / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2619, allocations: 4 kB / 436.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2619, allocations: 0 / 436.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.262, allocations: 157.6 kB / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.262, allocations: 4 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.2621, allocations: 11.94 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2621, allocations: 3.938 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2621, allocations: 4 kB / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2621, allocations: 0 / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2621, allocations: 0 / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.2622, allocations: 77.05 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.2623, allocations: 84.98 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.2623, allocations: 4.094 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.2623, allocations: 8 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.2623, allocations: 480 / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2623, allocations: 0 / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.2624, allocations: 87.25 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2624, allocations: 0 / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.2627, allocations: 55.88 kB / 437 MB, free: 2.035 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.0002684/0.2629, allocations: 155.1 kB / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.263, allocations: 23.92 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.263, allocations: 0 / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.263, allocations: 8 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2632, allocations: 4 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.2635, allocations: 163.7 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2638, allocations: 0.6807 MB / 438.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.2638, allocations: 7.438 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2638, allocations: 0 / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of Templates: time 0.00302/0.2668, allocations: 1.202 MB / 439.3 MB, free: 15.72 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.680219643283635]