Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001496/0.001496, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001599/0.001599, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.5 MB / 255.4 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.84 kB / 374.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 53.3 MB / 428 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001778/0.1069, allocations: 0.5284 MB / 428.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1091, allocations: 1.56 MB / 430.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.1092, allocations: 0 / 430.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.1092, allocations: 7.875 kB / 430.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007286/0.1099, allocations: 179.4 kB / 430.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.416e-05/0.1099, allocations: 3.984 kB / 430.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.11, allocations: 11.94 kB / 430.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.11, allocations: 0 / 430.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.1101, allocations: 11.98 kB / 430.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.1101, allocations: 11.92 kB / 430.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1101, allocations: 0 / 430.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.1106, allocations: 251.7 kB / 430.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1106, allocations: 4 kB / 430.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.1106, allocations: 11.94 kB / 430.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1109, allocations: 171.5 kB / 430.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1109, allocations: 4 kB / 430.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1109, allocations: 0 / 430.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1109, allocations: 0 / 430.8 MB, free: 1.641 MB / 350.1 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.000499/0.1114, allocations: 363.1 kB / 431.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1115, allocations: 8.031 kB / 431.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1115, allocations: 4.938 kB / 431.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.1117, allocations: 168.3 kB / 431.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1117, allocations: 8.375 kB / 431.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1117, allocations: 384 / 431.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.1118, allocations: 38 kB / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1118, allocations: 0 / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1118, allocations: 4 kB / 431.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1118, allocations: 3.938 kB / 431.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.1118, allocations: 15.97 kB / 431.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.112, allocations: 153.7 kB / 431.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.1121, allocations: 34.52 kB / 431.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.1121, allocations: 8.859 kB / 431.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1121, allocations: 96 / 431.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1122, allocations: 46.48 kB / 431.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1122, allocations: 0 / 431.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001453/0.1123, allocations: 49.64 kB / 431.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1124, allocations: 55.34 kB / 431.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.1125, allocations: 101.9 kB / 431.8 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1125, allocations: 29.7 kB / 431.9 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.1125, allocations: 80.14 kB / 431.9 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1126, allocations: 19.81 kB / 432 MB, free: 280 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.1126, allocations: 17.72 kB / 432 MB, free: 256 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1127, allocations: 314.8 kB / 432.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.1128, allocations: 7.984 kB / 432.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.1128, allocations: 25.72 kB / 432.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.1128, allocations: 21.72 kB / 432.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1128, allocations: 0 / 432.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000168/0.113, allocations: 61.62 kB / 432.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.113, allocations: 7.938 kB / 432.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.113, allocations: 0 / 432.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.113, allocations: 0 / 432.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.1131, allocations: 11.98 kB / 432.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1131, allocations: 0 / 432.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.1131, allocations: 11.97 kB / 432.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1132, allocations: 3.938 kB / 432.4 MB, free: 15.77 MB / 366.1 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 9.379e-05/0.1132, allocations: 113.8 kB / 432.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.1133, allocations: 3.938 kB / 432.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.1133, allocations: 3.5 kB / 432.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1133, allocations: 0 / 432.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1133, allocations: 0 / 432.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1133, allocations: 4 kB / 432.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1134, allocations: 161.8 kB / 432.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1134, allocations: 4 kB / 432.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.1135, allocations: 7.984 kB / 432.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1135, allocations: 4.359 kB / 432.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1135, allocations: 4 kB / 432.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1135, allocations: 0 / 432.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1135, allocations: 0 / 432.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.1136, allocations: 81.05 kB / 432.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.1137, allocations: 84.98 kB / 432.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1137, allocations: 8.094 kB / 432.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.1137, allocations: 3.984 kB / 432.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.1137, allocations: 0 / 432.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1137, allocations: 0 / 432.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.095e-05/0.1138, allocations: 83.28 kB / 433 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1138, allocations: 0 / 433 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1141, allocations: 59.8 kB / 433 MB, free: 15.05 MB / 366.1 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.0002752/0.1144, allocations: 151.1 kB / 433.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.1144, allocations: 20 kB / 433.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1144, allocations: 3.938 kB / 433.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.1145, allocations: 8 kB / 433.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1146, allocations: 3.984 kB / 433.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.1149, allocations: 159.7 kB / 433.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1152, allocations: 0.6768 MB / 434.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.1152, allocations: 11.44 kB / 434.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1152, allocations: 64 / 434.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Templates: time 0.003087/0.1183, allocations: 1.207 MB / 435.3 MB, free: 12.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.632857223972678]