Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008458/0.0008458, allocations: 146.8 kB / 24.89 MB, free: 8.781 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.941/0.941, allocations: 173.4 MB / 201.5 MB, free: 9.203 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 268.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.199e-05, allocations: 2.312 kB / 268.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001348/0.00137, allocations: 0.5438 MB / 269 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.002913, allocations: 1.455 MB / 270.5 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.002946, allocations: 0 / 270.5 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.002961, allocations: 7.875 kB / 270.5 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.00355, allocations: 175.4 kB / 270.6 MB, free: 4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.193e-05/0.003572, allocations: 7.984 kB / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.003622, allocations: 15.92 kB / 270.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.003657, allocations: 0 / 270.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.003719, allocations: 19.86 kB / 270.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.003768, allocations: 4 kB / 270.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.003781, allocations: 0 / 270.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.004066, allocations: 231.7 kB / 270.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.004078, allocations: 0 / 270.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.004093, allocations: 8 kB / 270.9 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.004336, allocations: 215.4 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.004339, allocations: 4 kB / 271.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.00434, allocations: 0 / 271.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004343, allocations: 0 / 271.1 MB, free: 3.504 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.0002871/0.004631, allocations: 256.3 kB / 271.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.004665, allocations: 8.922 kB / 271.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.004695, allocations: 12.92 kB / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.00479, allocations: 110.1 kB / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.004801, allocations: 384 / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.004824, allocations: 4.375 kB / 271.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.92e-05/0.004894, allocations: 38.19 kB / 271.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.004902, allocations: 192 / 271.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.004909, allocations: 384 / 271.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.004915, allocations: 3.938 kB / 271.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.004931, allocations: 4 kB / 271.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.939e-05/0.00502, allocations: 69.03 kB / 271.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.005067, allocations: 22.58 kB / 271.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.005081, allocations: 16.86 kB / 271.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.005087, allocations: 0 / 271.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.005105, allocations: 34.5 kB / 271.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.005106, allocations: 0 / 271.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.72e-05/0.005203, allocations: 41.83 kB / 271.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.005233, allocations: 55.39 kB / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.00529, allocations: 114.8 kB / 271.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.0053, allocations: 25.7 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/0.005321, allocations: 80.14 kB / 272 MB, free: 2.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.005353, allocations: 19.83 kB / 272 MB, free: 2.477 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.005381, allocations: 17.7 kB / 272.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.005458, allocations: 322.8 kB / 272.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-06/0.005466, allocations: 0 / 272.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.005485, allocations: 29.64 kB / 272.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.005515, allocations: 21.7 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.005517, allocations: 0 / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.589e-05/0.005573, allocations: 45.62 kB / 272.5 MB, free: 2.016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.005584, allocations: 8 kB / 272.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.00559, allocations: 3.984 kB / 272.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.0056, allocations: 0 / 272.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.005655, allocations: 12.03 kB / 272.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.005658, allocations: 0 / 272.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.005672, allocations: 3.938 kB / 272.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005676, allocations: 4 kB / 272.5 MB, free: 1.984 MB / 250.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.751e-05/0.005724, allocations: 109.8 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.005731, allocations: 4.125 kB / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.005753, allocations: 7.672 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.005756, allocations: 4 kB / 272.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005757, allocations: 0 / 272.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.00576, allocations: 0 / 272.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.6e-05/0.005816, allocations: 73.84 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005816, allocations: 0 / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.005852, allocations: 7.938 kB / 272.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.005854, allocations: 0 / 272.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.005864, allocations: 11.98 kB / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.005864, allocations: 0 / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005865, allocations: 0 / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.429e-05/0.005949, allocations: 69.06 kB / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.005959, allocations: 7.938 kB / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.005967, allocations: 0 / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.005975, allocations: 0 / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.005988, allocations: 12.02 kB / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.00599, allocations: 3.938 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.33e-05/0.006003, allocations: 12.86 kB / 272.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006003, allocations: 0 / 272.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.006171, allocations: 51.86 kB / 272.9 MB, free: 1.562 MB / 250.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.0001775/0.006349, allocations: 140.2 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.645e-05/0.006405, allocations: 20.84 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.006408, allocations: 0 / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.929e-06/0.006418, allocations: 13.38 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.105e-05/0.006479, allocations: 8 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.006679, allocations: 128.5 kB / 273.2 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.006706, allocations: 55.36 kB / 273.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.006735, allocations: 3.984 kB / 273.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.006764, allocations: 51.38 kB / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.006765, allocations: 0 / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of Templates: time 0.002695/0.009461, allocations: 1.283 MB / 274.6 MB, free: 15.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.559070779941976]