Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007175/0.0007175, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000968/0.001686, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006934/0.0006934, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008163/0.00151, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9628/0.9628, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1617/1.125, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.18e-05, allocations: 6.25 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001565/0.001596, allocations: 0.5914 MB / 222.4 MB, free: 15.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.003272, allocations: 1.489 MB / 223.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.003314, allocations: 0 / 223.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.414e-06/0.003321, allocations: 0 / 223.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.00381, allocations: 155.4 kB / 224.1 MB, free: 13.91 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.098e-05/0.003831, allocations: 4 kB / 224.1 MB, free: 13.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.003882, allocations: 15.86 kB / 224.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.00392, allocations: 7.938 kB / 224.1 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.003998, allocations: 19.97 kB / 224.1 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.00406, allocations: 4 kB / 224.1 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004076, allocations: 0 / 224.1 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.004497, allocations: 251.6 kB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.004511, allocations: 7.938 kB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.455e-05/0.004526, allocations: 0 / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.004799, allocations: 171.7 kB / 224.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.139e-05/0.00482, allocations: 0 / 224.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.004822, allocations: 3.938 kB / 224.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.004841, allocations: 0 / 224.5 MB, free: 13.43 MB / 234.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.0004421/0.005283, allocations: 280.2 kB / 224.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.005316, allocations: 8.031 kB / 224.8 MB, free: 13.13 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.005343, allocations: 4.938 kB / 224.8 MB, free: 13.12 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.005446, allocations: 121.7 kB / 224.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.005458, allocations: 4.312 kB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.005475, allocations: 384 / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.581e-05/0.005541, allocations: 38.25 kB / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.005549, allocations: 192 / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.005554, allocations: 384 / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.005563, allocations: 7.938 kB / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.005586, allocations: 0 / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.819e-05/0.005674, allocations: 65.03 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.005725, allocations: 26.52 kB / 225.1 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.005739, allocations: 8.859 kB / 225.1 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.005745, allocations: 4 kB / 225.1 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.005768, allocations: 38.69 kB / 225.1 MB, free: 12.75 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.005769, allocations: 0 / 225.1 MB, free: 12.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 9.668e-05/0.005866, allocations: 41.69 kB / 225.2 MB, free: 12.7 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.005895, allocations: 51.41 kB / 225.2 MB, free: 12.64 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.005952, allocations: 106.7 kB / 225.3 MB, free: 12.52 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.00596, allocations: 25.7 kB / 225.4 MB, free: 12.49 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.005978, allocations: 80.14 kB / 225.4 MB, free: 12.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.006007, allocations: 15.83 kB / 225.5 MB, free: 12.39 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.006035, allocations: 17.72 kB / 225.5 MB, free: 12.37 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.006107, allocations: 326.8 kB / 225.8 MB, free: 12.04 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.006115, allocations: 4 kB / 225.8 MB, free: 12.04 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.006134, allocations: 21.7 kB / 225.8 MB, free: 12.01 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.006163, allocations: 18.09 kB / 225.8 MB, free: 11.99 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.006165, allocations: 0 / 225.8 MB, free: 11.99 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.361e-05/0.006219, allocations: 49.67 kB / 225.9 MB, free: 11.93 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.006235, allocations: 11.98 kB / 225.9 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.006241, allocations: 7.922 kB / 225.9 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.006252, allocations: 0 / 225.9 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.006375, allocations: 12.03 kB / 225.9 MB, free: 11.9 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.006378, allocations: 0 / 225.9 MB, free: 11.9 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.006397, allocations: 7.938 kB / 225.9 MB, free: 11.89 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.0064, allocations: 0 / 225.9 MB, free: 11.89 MB / 234.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.66e-05/0.006457, allocations: 117.8 kB / 226 MB, free: 11.77 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.006465, allocations: 3.984 kB / 226 MB, free: 11.77 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.00649, allocations: 7.688 kB / 226 MB, free: 11.76 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006492, allocations: 0 / 226 MB, free: 11.76 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.006493, allocations: 4 kB / 226.1 MB, free: 11.76 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006496, allocations: 0 / 226.1 MB, free: 11.76 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.632e-05/0.006563, allocations: 69.83 kB / 226.1 MB, free: 11.67 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.006565, allocations: 4 kB / 226.1 MB, free: 11.67 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.00663, allocations: 11.98 kB / 226.1 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.006638, allocations: 7.891 kB / 226.1 MB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.006641, allocations: 0 / 226.1 MB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.006657, allocations: 4 kB / 226.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006658, allocations: 0 / 226.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006659, allocations: 0 / 226.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.006769, allocations: 80.98 kB / 226.2 MB, free: 11.55 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006779, allocations: 0 / 226.2 MB, free: 11.55 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.006789, allocations: 0 / 226.2 MB, free: 11.55 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.006803, allocations: 4.031 kB / 226.2 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.006805, allocations: 0 / 226.2 MB, free: 11.54 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.671e-05/0.006822, allocations: 8.859 kB / 226.2 MB, free: 11.53 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006822, allocations: 0 / 226.2 MB, free: 11.53 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00021/0.007032, allocations: 59.86 kB / 226.3 MB, free: 11.47 MB / 234.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.0002224/0.007254, allocations: 144.2 kB / 226.4 MB, free: 11.32 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.007322, allocations: 12.86 kB / 226.4 MB, free: 11.31 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.007328, allocations: 4 kB / 226.5 MB, free: 11.3 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.007341, allocations: 20.78 kB / 226.5 MB, free: 11.28 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.448e-05/0.007415, allocations: 12 kB / 226.5 MB, free: 11.27 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.007618, allocations: 119 kB / 226.6 MB, free: 11.13 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.007652, allocations: 59.34 kB / 226.7 MB, free: 11.05 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.00771, allocations: 4.125 kB / 226.7 MB, free: 11.05 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.007746, allocations: 51.38 kB / 226.7 MB, free: 11 MB / 234.7 MB Notification: Performance of SimCode: time 8.72e-07/0.007747, allocations: 0 / 226.7 MB, free: 11 MB / 234.7 MB Notification: Performance of Templates: time 0.002862/0.01061, allocations: 1.277 MB / 228 MB, free: 9.719 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5932116778567433]