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.001286/0.001286, allocations: 111.2 kB / 21.18 MB, free: 0.6289 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.001341/0.001341, allocations: 206.8 kB / 24.48 MB, free: 4.035 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.43/1.43, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001943/0.001943, allocations: 63.89 kB / 378.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2192, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001599/0.2208, allocations: 0.524 MB / 432.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.2228, allocations: 1.571 MB / 434.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.2228, allocations: 0 / 434.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.2229, allocations: 0 / 434.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.2234, allocations: 171.5 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.44e-05/0.2235, allocations: 11.91 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.768e-05/0.2235, allocations: 12 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.2235, allocations: 4 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.2236, allocations: 11.88 kB / 434.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.2236, allocations: 7.984 kB / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.2236, allocations: 0 / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.224, allocations: 247.7 kB / 434.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.224, allocations: 11.92 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.2241, allocations: 7.938 kB / 434.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.2243, allocations: 173.5 kB / 434.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2243, allocations: 4 kB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2243, allocations: 4 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.2243, allocations: 0 / 434.8 MB, free: 4.625 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.0004351/0.2248, allocations: 363.1 kB / 435.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2248, allocations: 8.031 kB / 435.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.2248, allocations: 4.938 kB / 435.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.225, allocations: 164.3 kB / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.225, allocations: 384 / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.225, allocations: 4.375 kB / 435.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.163e-05/0.2251, allocations: 46 kB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2251, allocations: 4 kB / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.2251, allocations: 0 / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2251, allocations: 3.938 kB / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.2252, allocations: 7.984 kB / 435.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.2253, allocations: 153.7 kB / 435.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.235e-05/0.2254, allocations: 34.55 kB / 435.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.2254, allocations: 12.86 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2254, allocations: 4 kB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2255, allocations: 34.5 kB / 435.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2255, allocations: 7.938 kB / 435.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001298/0.2256, allocations: 49.73 kB / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.2256, allocations: 55.39 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.2257, allocations: 102 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2257, allocations: 25.7 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.2258, allocations: 84.14 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.2258, allocations: 19.89 kB / 436 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2258, allocations: 13.72 kB / 436 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.226, allocations: 318.8 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.226, allocations: 4 kB / 436.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.226, allocations: 25.7 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.2261, allocations: 29.66 kB / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2261, allocations: 4 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.861e-05/0.2261, allocations: 53.62 kB / 436.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2262, allocations: 11.94 kB / 436.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2262, allocations: 0 / 436.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2262, allocations: 0 / 436.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.2262, allocations: 8 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2263, allocations: 0 / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.2263, allocations: 3.984 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.2263, allocations: 4 kB / 436.4 MB, free: 2.762 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.226e-05/0.2263, allocations: 113.9 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.2264, allocations: 8.062 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.2264, allocations: 3.5 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2264, allocations: 4 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.2264, allocations: 0 / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.2264, allocations: 81.06 kB / 436.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2265, allocations: 8 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.2265, allocations: 0 / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.2265, allocations: 3.984 kB / 436.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001554/0.2266, allocations: 128.9 kB / 436.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001826/0.2268, allocations: 226.8 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.979e-05/0.2268, allocations: 7.969 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.771e-05/0.2269, allocations: 83.28 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Backend: time 1.71e-07/0.2269, allocations: 0 / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000476/0.2274, allocations: 158.5 kB / 437.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004402/0.2278, allocations: 0.585 MB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of Templates: time 0.003619/0.2314, allocations: 1.187 MB / 439 MB, free: 72 kB / 334.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: 4.11638108221814]