Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001044/0.001044, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009189/0.0009189, allocations: 169 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9958/0.9958, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.092e-05, allocations: 4.844 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00117/0.001191, allocations: 0.5875 MB / 274.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.002666, allocations: 1.501 MB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.002688, allocations: 4 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.002699, allocations: 7.938 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.003121, allocations: 159.4 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.669e-05/0.003137, allocations: 3.938 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.27e-05/0.00318, allocations: 19.92 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.868e-05/0.003209, allocations: 0 / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.003261, allocations: 15.91 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.759e-05/0.003299, allocations: 8 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.00331, allocations: 0 / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.003618, allocations: 255.6 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.00363, allocations: 11.97 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.003642, allocations: 3.938 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.003852, allocations: 211.5 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003854, allocations: 0 / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.003855, allocations: 3.984 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003859, allocations: 0 / 276.3 MB, free: 14.45 MB / 266.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.0002456/0.004104, allocations: 268.6 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/0.00413, allocations: 12.03 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.004149, allocations: 4.938 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.674e-05/0.004216, allocations: 113.7 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.004223, allocations: 384 / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.004233, allocations: 384 / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.556e-05/0.004279, allocations: 38.25 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004285, allocations: 192 / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-06/0.00429, allocations: 384 / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004296, allocations: 7.938 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.004311, allocations: 4 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.171e-05/0.004382, allocations: 57.05 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.004423, allocations: 34.55 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.004436, allocations: 16.8 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-06/0.004441, allocations: 0 / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.004458, allocations: 30.56 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.004459, allocations: 0 / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 6.984e-05/0.004528, allocations: 41.78 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.004551, allocations: 51.41 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.004604, allocations: 114.6 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.004612, allocations: 25.7 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.004632, allocations: 80.14 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.004655, allocations: 19.84 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.004678, allocations: 21.69 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.00475, allocations: 318.8 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.004758, allocations: 4 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.532e-05/0.004773, allocations: 13.72 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.004803, allocations: 30.06 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.004804, allocations: 0 / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.019e-05/0.004854, allocations: 49.61 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.004863, allocations: 8 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.004866, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.004874, allocations: 4.031 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.004954, allocations: 11.98 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.004956, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.00497, allocations: 7.938 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-06/0.004973, allocations: 0 / 277.6 MB, free: 12.92 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 4.421e-05/0.005017, allocations: 109.8 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.005023, allocations: 8 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.00504, allocations: 3.688 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005041, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.005044, allocations: 3.984 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.005047, allocations: 8 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.506e-05/0.005102, allocations: 65.84 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005103, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.005149, allocations: 8 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00515, allocations: 128 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.005158, allocations: 7.984 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005158, allocations: 0 / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005159, allocations: 3.938 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.409e-05/0.005243, allocations: 84.98 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.00525, allocations: 3.984 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.005259, allocations: 8.031 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-06/0.005267, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.005278, allocations: 3.984 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.00528, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.13e-05/0.005291, allocations: 8.859 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005291, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.005447, allocations: 59.86 kB / 278 MB, free: 12.5 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.0001623/0.005609, allocations: 144.2 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.502e-05/0.005654, allocations: 12.86 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005656, allocations: 8 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.005666, allocations: 16.84 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.525e-05/0.005721, allocations: 7.875 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.005898, allocations: 124.5 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.765e-05/0.005926, allocations: 59.34 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.005957, allocations: 4 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.005985, allocations: 47.38 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005986, allocations: 4 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002639/0.008625, allocations: 1.329 MB / 279.8 MB, free: 10.69 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4866826869547367]