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.001163/0.001163, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001368/0.001368, allocations: 166 kB / 25.61 MB, free: 8.582 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.9788/0.9788, allocations: 177 MB / 205.9 MB, free: 4.465 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 1.803e-06/1.803e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.436e-05, allocations: 2.906 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001174/0.001198, allocations: 0.5278 MB / 274.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.002776, allocations: 1.506 MB / 276.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.002811, allocations: 0 / 276.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.002828, allocations: 0 / 276.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.003396, allocations: 190.7 kB / 276.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.874e-05/0.003415, allocations: 0 / 276.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.003466, allocations: 19.92 kB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.003505, allocations: 4 kB / 276.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.003564, allocations: 11.97 kB / 276.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.00361, allocations: 4.594 kB / 276.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.003623, allocations: 4 kB / 276.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.003926, allocations: 238.1 kB / 276.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.00394, allocations: 7.984 kB / 276.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.003954, allocations: 0 / 276.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.004191, allocations: 223.4 kB / 276.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004194, allocations: 0 / 276.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004195, allocations: 0 / 276.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.004199, allocations: 4 kB / 276.8 MB, free: 1.574 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.0006222/0.004821, allocations: 388.3 kB / 277.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.004854, allocations: 8.031 kB / 277.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.004883, allocations: 8.891 kB / 277.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.038e-05/0.004974, allocations: 112.6 kB / 277.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.004986, allocations: 4.375 kB / 277.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.005002, allocations: 384 / 277.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.466e-05/0.005067, allocations: 38.25 kB / 277.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.005076, allocations: 192 / 277.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.005083, allocations: 384 / 277.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.005089, allocations: 7.938 kB / 277.4 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.005108, allocations: 7.938 kB / 277.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.00523, allocations: 101.2 kB / 277.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.005287, allocations: 35.06 kB / 277.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.005302, allocations: 7.828 kB / 277.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.00531, allocations: 7.984 kB / 277.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.005329, allocations: 33.39 kB / 277.6 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.00533, allocations: 0 / 277.6 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001206/0.005451, allocations: 53.58 kB / 277.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.005483, allocations: 51.41 kB / 277.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.005561, allocations: 161.9 kB / 277.8 MB, free: 424 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.005573, allocations: 33.7 kB / 277.9 MB, free: 384 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.005621, allocations: 130.9 kB / 278 MB, free: 248 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.005654, allocations: 11.89 kB / 278 MB, free: 236 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.005683, allocations: 23.36 kB / 278 MB, free: 204 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.005809, allocations: 496.1 kB / 278.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.00582, allocations: 3.984 kB / 278.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.00584, allocations: 23.31 kB / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.005875, allocations: 35.67 kB / 278.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005877, allocations: 4 kB / 278.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.365e-05/0.005941, allocations: 65.61 kB / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.005954, allocations: 4 kB / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005959, allocations: 0 / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.005968, allocations: 0 / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.006035, allocations: 11.98 kB / 278.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006038, allocations: 0 / 278.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.006055, allocations: 7.938 kB / 278.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.006059, allocations: 128 / 278.7 MB, free: 15.53 MB / 266.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 6.619e-05/0.006125, allocations: 156.6 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.006134, allocations: 4 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.006158, allocations: 11.72 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00616, allocations: 0 / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.006162, allocations: 0 / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.006166, allocations: 3.938 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.767e-05/0.006234, allocations: 113.2 kB / 279 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006235, allocations: 0 / 279 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.006271, allocations: 4 kB / 279 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.006272, allocations: 0 / 279 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.006282, allocations: 3.938 kB / 279 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.006284, allocations: 4 kB / 279 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006285, allocations: 0 / 279 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.006387, allocations: 92.36 kB / 279.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.006393, allocations: 0 / 279.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.006402, allocations: 0 / 279.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-06/0.00641, allocations: 4 kB / 279.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.00642, allocations: 0 / 279.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.006421, allocations: 0 / 279.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.969e-05/0.006461, allocations: 131.2 kB / 279.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006461, allocations: 0 / 279.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.006664, allocations: 51.88 kB / 279.2 MB, free: 14.89 MB / 266.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.0001987/0.006863, allocations: 167 kB / 279.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.006951, allocations: 31.55 kB / 279.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006952, allocations: 4 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.006965, allocations: 11.69 kB / 279.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.007084, allocations: 3.938 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.007317, allocations: 126.3 kB / 279.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.007354, allocations: 59.22 kB / 279.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.007402, allocations: 3.984 kB / 279.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.007445, allocations: 70.2 kB / 279.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007445, allocations: 4.062 kB / 279.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Templates: time 0.00298/0.01043, allocations: 1.334 MB / 281 MB, free: 13.03 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] 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","",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.703123637009412]