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.001534/0.001534, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001697/0.001697, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001611/0.001611, allocations: 51.91 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2324, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001688/0.2341, allocations: 0.5192 MB / 432.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.2361, allocations: 1.57 MB / 434.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.2362, allocations: 0 / 434.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.2362, allocations: 3.938 kB / 434.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.2368, allocations: 171.5 kB / 434.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.468e-05/0.2368, allocations: 7.984 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.2368, allocations: 15.94 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.2369, allocations: 4 kB / 434.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.2369, allocations: 11.92 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.237, allocations: 7.938 kB / 434.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.237, allocations: 3.984 kB / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.2374, allocations: 247.7 kB / 434.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.2374, allocations: 11.94 kB / 435 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.2374, allocations: 0 / 435 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.2377, allocations: 176.8 kB / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2377, allocations: 0 / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2377, allocations: 4 kB / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2377, allocations: 0 / 435.1 MB, free: 4.207 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.0004694/0.2382, allocations: 290 kB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2382, allocations: 8.031 kB / 435.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.2382, allocations: 4.922 kB / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2384, allocations: 114.4 kB / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2384, allocations: 384 / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2384, allocations: 8.375 kB / 435.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.2385, allocations: 45.94 kB / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2385, allocations: 0 / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2385, allocations: 0 / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2385, allocations: 0 / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.2386, allocations: 8 kB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.2387, allocations: 128.8 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.692e-05/0.2388, allocations: 34.55 kB / 435.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.2388, allocations: 8.859 kB / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.2388, allocations: 4 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2389, allocations: 38.5 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2389, allocations: 0 / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001417/0.239, allocations: 53.67 kB / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.239, allocations: 51.41 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.2391, allocations: 106 kB / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2392, allocations: 29.7 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.2392, allocations: 84.14 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.2392, allocations: 15.89 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.2393, allocations: 21.7 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2394, allocations: 310.8 kB / 436.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.2394, allocations: 8 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.2394, allocations: 21.7 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.2395, allocations: 25.72 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2395, allocations: 4 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.297e-05/0.2396, allocations: 57.62 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2396, allocations: 7.938 kB / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2396, allocations: 0 / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2396, allocations: 0 / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.2397, allocations: 15.94 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2397, allocations: 4.062 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.2397, allocations: 8 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.2397, allocations: 0 / 436.6 MB, free: 2.527 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.768e-05/0.2398, allocations: 117.9 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.2398, allocations: 3.938 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.2398, allocations: 7.688 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2398, allocations: 0 / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2398, allocations: 0 / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2398, allocations: 7.938 kB / 436.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.24, allocations: 128.7 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.24, allocations: 0 / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.24, allocations: 4 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.24, allocations: 7.938 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.24, allocations: 4 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.24, allocations: 0 / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.24, allocations: 0 / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2401, allocations: 81.05 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.2402, allocations: 11.91 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.2402, allocations: 0 / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.2402, allocations: 0 / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.2402, allocations: 0 / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.2402, allocations: 4.062 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.346e-05/0.2403, allocations: 87.27 kB / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2403, allocations: 0 / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000274/0.2405, allocations: 55.86 kB / 437.1 MB, free: 1.941 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.0002479/0.2408, allocations: 147.1 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.789e-05/0.2409, allocations: 19.92 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2409, allocations: 0 / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.2409, allocations: 8.516 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.241, allocations: 8.062 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.2413, allocations: 159.8 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2416, allocations: 0.6768 MB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.2417, allocations: 7.438 kB / 438.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2417, allocations: 0 / 438.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of Templates: time 0.002872/0.2445, allocations: 1.206 MB / 439.4 MB, free: 15.64 MB / 350.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 -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: 6.627562287030742]