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.0009502/0.0009502, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001018/0.001018, allocations: 146.2 kB / 24.98 MB, free: 8.367 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.9957/0.9957, allocations: 173.3 MB / 201.5 MB, free: 9.387 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.082e-06/1.082e-06, allocations: 0 / 268.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.254e-05, allocations: 2.312 kB / 268.1 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0009509/0.0009634, allocations: 0.5415 MB / 268.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002153, allocations: 1.459 MB / 270.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.002179, allocations: 4 kB / 270.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.002193, allocations: 4 kB / 270.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.002736, allocations: 175.3 kB / 270.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.318e-05/0.002749, allocations: 0 / 270.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.002796, allocations: 19.92 kB / 270.3 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.094e-05/0.002827, allocations: 0 / 270.3 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.955e-05/0.002877, allocations: 7.938 kB / 270.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.00292, allocations: 11.98 kB / 270.3 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.002931, allocations: 0 / 270.3 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.003168, allocations: 231.7 kB / 270.5 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.003178, allocations: 3.984 kB / 270.5 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.003194, allocations: 7.938 kB / 270.5 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.003409, allocations: 211.5 kB / 270.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00341, allocations: 0 / 270.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003411, allocations: 4 kB / 270.7 MB, free: 4.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.003417, allocations: 0 / 270.7 MB, free: 4.109 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.0002941/0.003711, allocations: 388 kB / 271.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.003742, allocations: 8.922 kB / 271.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.003774, allocations: 9.234 kB / 271.1 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.067e-05/0.003854, allocations: 116.6 kB / 271.2 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.003863, allocations: 384 / 271.2 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.00388, allocations: 4.375 kB / 271.2 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.673e-05/0.003936, allocations: 30.27 kB / 271.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.003944, allocations: 192 / 271.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.003953, allocations: 4.375 kB / 271.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.00396, allocations: 3.938 kB / 271.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.003984, allocations: 11.92 kB / 271.3 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.004093, allocations: 120.7 kB / 271.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.004144, allocations: 35.06 kB / 271.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.004162, allocations: 11.69 kB / 271.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.004167, allocations: 0 / 271.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.004185, allocations: 45.41 kB / 271.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.004186, allocations: 0 / 271.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001032/0.004289, allocations: 53.58 kB / 271.6 MB, free: 3.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.004313, allocations: 55.34 kB / 271.6 MB, free: 3.086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.004383, allocations: 161.9 kB / 271.8 MB, free: 2.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.00439, allocations: 25.7 kB / 271.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.004421, allocations: 126.9 kB / 271.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.004445, allocations: 19.88 kB / 271.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.004468, allocations: 19.38 kB / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.004561, allocations: 0.4884 MB / 272.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.004573, allocations: 7.984 kB / 272.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.004594, allocations: 23.38 kB / 272.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.004629, allocations: 31.69 kB / 272.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004631, allocations: 0 / 272.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.455e-05/0.004685, allocations: 61.56 kB / 272.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.004694, allocations: 8 kB / 272.6 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004698, allocations: 4.031 kB / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.004708, allocations: 0 / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.004769, allocations: 11.98 kB / 272.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.004774, allocations: 3.938 kB / 272.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.004786, allocations: 0 / 272.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-06/0.004789, allocations: 4 kB / 272.6 MB, free: 2.027 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.866e-05/0.004837, allocations: 156.6 kB / 272.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.004843, allocations: 4 kB / 272.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.004864, allocations: 3.812 kB / 272.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004866, allocations: 0 / 272.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.004871, allocations: 11.94 kB / 272.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.004873, allocations: 0 / 272.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.615e-05/0.004929, allocations: 120.6 kB / 272.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004929, allocations: 0 / 272.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.004964, allocations: 4 kB / 272.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.004965, allocations: 0 / 272.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.004977, allocations: 7.938 kB / 272.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004977, allocations: 0 / 272.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.004978, allocations: 0 / 272.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.418e-05/0.005062, allocations: 92.31 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-06/0.005066, allocations: 3.938 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.005076, allocations: 12.03 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.005084, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.005095, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.005098, allocations: 3.938 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.005127, allocations: 127.2 kB / 273.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005127, allocations: 0 / 273.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.00529, allocations: 55.86 kB / 273.2 MB, free: 1.363 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.0001596/0.005449, allocations: 155.1 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.299e-05/0.005512, allocations: 27.61 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005514, allocations: 4.062 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.005524, allocations: 15.69 kB / 273.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.513e-05/0.005619, allocations: 0 / 273.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.005804, allocations: 126.2 kB / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.757e-05/0.005831, allocations: 67.28 kB / 273.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.669e-05/0.005858, allocations: 0 / 273.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.005874, allocations: 12.5 kB / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005874, allocations: 0 / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of Templates: time 0.002435/0.008309, allocations: 1.137 MB / 274.7 MB, free: 15.76 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.6277803909033537]