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.001347/0.001347, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001412/0.001412, allocations: 205.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.589/1.589, allocations: 230.6 MB / 258.2 MB, free: 7.797 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+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 0.001589/0.001589, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2198, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001589/0.2214, allocations: 0.5192 MB / 432.8 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2234, allocations: 1.477 MB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.2234, allocations: 0 / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.2234, allocations: 0 / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.224, allocations: 182.3 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.242e-05/0.2241, allocations: 3.984 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.2241, allocations: 15.94 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.2242, allocations: 3.984 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.2242, allocations: 7.938 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.2242, allocations: 11.94 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2243, allocations: 0 / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.2247, allocations: 247.7 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.2247, allocations: 7.984 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.2247, allocations: 8 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.225, allocations: 175.3 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.225, allocations: 0 / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.225, allocations: 3.938 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.225, allocations: 0 / 435 MB, free: 4.066 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.0004574/0.2255, allocations: 294 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2255, allocations: 8.031 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.2255, allocations: 0.9375 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2256, allocations: 114.4 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2257, allocations: 384 / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2257, allocations: 8.375 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.2258, allocations: 42 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2258, allocations: 3.938 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.2258, allocations: 0 / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2258, allocations: 0 / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.2258, allocations: 4 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.226, allocations: 113.3 kB / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.226, allocations: 38.59 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.2261, allocations: 8.859 kB / 435.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.2261, allocations: 4 kB / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2261, allocations: 34.5 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.2261, allocations: 4 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001499/0.2263, allocations: 49.72 kB / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2263, allocations: 51.41 kB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2264, allocations: 105.8 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2264, allocations: 25.7 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.2265, allocations: 80.14 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.2265, allocations: 15.91 kB / 436 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2265, allocations: 13.72 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2267, allocations: 318.8 kB / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.2267, allocations: 4 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.2267, allocations: 29.66 kB / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.2268, allocations: 29.7 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2268, allocations: 0 / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.38e-05/0.2269, allocations: 57.62 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2269, allocations: 8 kB / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.2269, allocations: 3.938 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2269, allocations: 0 / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.227, allocations: 8 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.227, allocations: 0 / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.227, allocations: 4.031 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.227, allocations: 4 kB / 436.4 MB, free: 2.43 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 7.751e-05/0.2271, allocations: 109.8 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.2271, allocations: 7.953 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.2271, allocations: 15.55 kB / 436.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2271, allocations: 3.938 kB / 436.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2271, allocations: 0 / 436.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2271, allocations: 0 / 436.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.51e-05/0.2272, allocations: 105.3 kB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2272, allocations: 0 / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.2273, allocations: 11.92 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2273, allocations: 4 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2273, allocations: 0 / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2273, allocations: 7.938 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2273, allocations: 0 / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2274, allocations: 73.55 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.2274, allocations: 3.938 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2275, allocations: 4.031 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.2275, allocations: 3.938 kB / 436.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.2275, allocations: 8.016 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.2275, allocations: 0 / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.2275, allocations: 83.34 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2275, allocations: 4 kB / 436.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.2278, allocations: 55.86 kB / 436.9 MB, free: 1.875 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.0002758/0.2281, allocations: 155 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.406e-05/0.2282, allocations: 19.98 kB / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2282, allocations: 0 / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.2282, allocations: 8 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.2283, allocations: 3.984 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.2286, allocations: 134.2 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.2286, allocations: 71.41 kB / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.711e-05/0.2287, allocations: 8 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.2287, allocations: 7.438 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2287, allocations: 0 / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Templates: time 0.003703/0.2324, allocations: 1.142 MB / 438.5 MB, free: 284 kB / 334.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.39815076701052]