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.001635/0.001635, allocations: 118.4 kB / 18.41 MB, free: 4.648 MB / 14.72 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.001889/0.001889, allocations: 190.7 kB / 21.35 MB, free: 1.715 MB / 14.72 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 1.471/1.471, allocations: 222.9 MB / 247 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001551/0.001551, allocations: 51.92 kB / 358.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 49.43 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001696/0.1066, allocations: 0.5204 MB / 408.6 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1086, allocations: 1.48 MB / 410.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.1087, allocations: 0 / 410.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.1087, allocations: 3.938 kB / 410.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006289/0.1094, allocations: 179.4 kB / 410.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.168e-05/0.1094, allocations: 0 / 410.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.1095, allocations: 19.98 kB / 410.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.1095, allocations: 11.94 kB / 410.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.1096, allocations: 7.938 kB / 410.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.1096, allocations: 7.969 kB / 410.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1096, allocations: 0 / 410.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.1101, allocations: 239.7 kB / 410.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.1101, allocations: 7.938 kB / 410.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.1101, allocations: 3.984 kB / 410.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1104, allocations: 175.5 kB / 410.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1104, allocations: 0 / 410.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1104, allocations: 4 kB / 410.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1104, allocations: 0 / 410.7 MB, free: 4.172 MB / 334.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.0004791/0.1109, allocations: 363.1 kB / 411.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.111, allocations: 8.031 kB / 411.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.111, allocations: 4.938 kB / 411.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1112, allocations: 168.3 kB / 411.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1112, allocations: 4.375 kB / 411.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1112, allocations: 384 / 411.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.1113, allocations: 41.95 kB / 411.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1113, allocations: 7.984 kB / 411.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1114, allocations: 0 / 411.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1114, allocations: 0 / 411.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.1114, allocations: 11.92 kB / 411.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1116, allocations: 161.7 kB / 411.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.027e-05/0.1117, allocations: 34.52 kB / 411.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.1117, allocations: 12.94 kB / 411.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.1117, allocations: 8 kB / 411.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1118, allocations: 34.5 kB / 411.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1118, allocations: 0 / 411.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001454/0.1119, allocations: 45.69 kB / 411.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.112, allocations: 51.41 kB / 411.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1121, allocations: 105.8 kB / 411.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1121, allocations: 25.7 kB / 411.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.1122, allocations: 84.14 kB / 411.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1122, allocations: 19.83 kB / 411.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1122, allocations: 17.72 kB / 411.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1124, allocations: 318.8 kB / 412.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.1124, allocations: 8 kB / 412.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.1124, allocations: 13.72 kB / 412.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.1125, allocations: 29.72 kB / 412.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1125, allocations: 11.92 kB / 412.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.53e-05/0.1126, allocations: 53.59 kB / 412.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1126, allocations: 7.938 kB / 412.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1126, allocations: 3.984 kB / 412.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1126, allocations: 4 kB / 412.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.1127, allocations: 8 kB / 412.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1127, allocations: 4 kB / 412.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.1128, allocations: 3.938 kB / 412.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1128, allocations: 128 / 412.4 MB, free: 2.297 MB / 334.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 8.932e-05/0.1129, allocations: 117.8 kB / 412.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.1129, allocations: 3.938 kB / 412.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.1129, allocations: 11.5 kB / 412.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1129, allocations: 432 / 412.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1129, allocations: 7.984 kB / 412.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1129, allocations: 0 / 412.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1132, allocations: 153.7 kB / 412.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1132, allocations: 0 / 412.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.1133, allocations: 8 kB / 412.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1133, allocations: 11.86 kB / 412.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1133, allocations: 4 kB / 412.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1133, allocations: 0 / 412.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1133, allocations: 0 / 412.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1134, allocations: 77.08 kB / 412.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1136, allocations: 85.03 kB / 412.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1136, allocations: 4.031 kB / 412.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.1136, allocations: 0 / 412.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.1136, allocations: 3.938 kB / 412.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1136, allocations: 4.062 kB / 412.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.1137, allocations: 79.28 kB / 412.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1137, allocations: 0 / 412.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.114, allocations: 59.86 kB / 413 MB, free: 1.578 MB / 334.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.0002643/0.1143, allocations: 147 kB / 413.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.663e-05/0.1144, allocations: 19.98 kB / 413.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1144, allocations: 0 / 413.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.1144, allocations: 11.94 kB / 413.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.1146, allocations: 12.05 kB / 413.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.1148, allocations: 147.8 kB / 413.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1152, allocations: 0.6805 MB / 414 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.1152, allocations: 11.44 kB / 414 MB, free: 496 kB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1152, allocations: 3.938 kB / 414 MB, free: 492 kB / 334.1 MB Notification: Performance of Templates: time 0.003206/0.1184, allocations: 1.152 MB / 415.2 MB, free: 15.32 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.087904436979443]