Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001513/0.001513, allocations: 84.77 kB / 21.43 MB, free: 296 kB / 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.002411/0.002411, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.559e-05, allocations: 6.219 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002023/0.002059, allocations: 0.5268 MB / 299.5 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.004534, allocations: 1.439 MB / 300.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.004565, allocations: 0 / 300.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.004582, allocations: 0 / 300.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007308/0.005313, allocations: 179.2 kB / 301.1 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.991e-05/0.005343, allocations: 11.98 kB / 301.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.638e-05/0.005399, allocations: 7.938 kB / 301.1 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.005452, allocations: 4 kB / 301.1 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.005552, allocations: 11.98 kB / 301.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.005612, allocations: 4 kB / 301.1 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.00563, allocations: 4 kB / 301.1 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.006174, allocations: 231.7 kB / 301.4 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.006195, allocations: 3.938 kB / 301.4 MB, free: 6.281 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.006224, allocations: 8 kB / 301.4 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.006619, allocations: 211.5 kB / 301.6 MB, free: 6.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.006624, allocations: 0 / 301.6 MB, free: 6.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.006626, allocations: 0 / 301.6 MB, free: 6.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.006633, allocations: 0 / 301.6 MB, free: 6.066 MB / 286.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.0005804/0.007213, allocations: 293.9 kB / 301.9 MB, free: 5.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.007271, allocations: 11.98 kB / 301.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.007316, allocations: 4.938 kB / 301.9 MB, free: 5.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.007535, allocations: 121.6 kB / 302 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.007556, allocations: 4.375 kB / 302 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.007583, allocations: 384 / 302 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.007688, allocations: 38.25 kB / 302 MB, free: 5.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.007704, allocations: 4.141 kB / 302.1 MB, free: 5.539 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.007715, allocations: 384 / 302.1 MB, free: 5.539 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.007723, allocations: 3.938 kB / 302.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.007774, allocations: 4 kB / 302.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.007993, allocations: 109.4 kB / 302.2 MB, free: 5.395 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.008126, allocations: 34.52 kB / 302.2 MB, free: 5.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.008164, allocations: 13.66 kB / 302.2 MB, free: 5.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.008183, allocations: 4 kB / 302.2 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.008233, allocations: 34.56 kB / 302.3 MB, free: 5.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.008234, allocations: 0 / 302.3 MB, free: 5.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002303/0.008464, allocations: 45.69 kB / 302.3 MB, free: 5.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.00854, allocations: 59.28 kB / 302.4 MB, free: 5.168 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.008705, allocations: 106 kB / 302.5 MB, free: 5.055 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.008737, allocations: 25.7 kB / 302.5 MB, free: 5.023 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.008825, allocations: 84.12 kB / 302.6 MB, free: 4.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.008888, allocations: 15.84 kB / 302.6 MB, free: 4.922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.008928, allocations: 21.72 kB / 302.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.009128, allocations: 314.8 kB / 302.9 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.009158, allocations: 7.984 kB / 302.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.009203, allocations: 21.84 kB / 302.9 MB, free: 4.543 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/0.009273, allocations: 25.72 kB / 303 MB, free: 4.512 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.009275, allocations: 0 / 303 MB, free: 4.512 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000127/0.009402, allocations: 57.62 kB / 303 MB, free: 4.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.009425, allocations: 8 kB / 303 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.009431, allocations: 0 / 303 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.009452, allocations: 4.031 kB / 303 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.009569, allocations: 11.98 kB / 303 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.009579, allocations: 3.938 kB / 303 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.009606, allocations: 0 / 303 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.009612, allocations: 7.938 kB / 303.1 MB, free: 4.414 MB / 286.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 0.0001165/0.009729, allocations: 109.8 kB / 303.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.009746, allocations: 7.953 kB / 303.2 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.00978, allocations: 7.625 kB / 303.2 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009782, allocations: 0 / 303.2 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.009791, allocations: 3.938 kB / 303.2 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.009795, allocations: 3.938 kB / 303.2 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.009938, allocations: 113.3 kB / 303.3 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009939, allocations: 0 / 303.3 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.01003, allocations: 4 kB / 303.3 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01003, allocations: 0 / 303.3 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01005, allocations: 4 kB / 303.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01005, allocations: 3.984 kB / 303.3 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01005, allocations: 0 / 303.3 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.01026, allocations: 81 kB / 303.4 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.01028, allocations: 11.98 kB / 303.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.0103, allocations: 0 / 303.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.01032, allocations: 4.062 kB / 303.4 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.01033, allocations: 0 / 303.4 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01034, allocations: 7.922 kB / 303.4 MB, free: 4 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.01041, allocations: 83.28 kB / 303.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01041, allocations: 4 kB / 303.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000429/0.01084, allocations: 51.86 kB / 303.5 MB, free: 3.863 MB / 286.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.0004122/0.01125, allocations: 155.1 kB / 303.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.01139, allocations: 15.98 kB / 303.7 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01139, allocations: 3.938 kB / 303.7 MB, free: 3.684 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.01141, allocations: 12.58 kB / 303.7 MB, free: 3.672 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.01166, allocations: 6.75 kB / 303.7 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.01208, allocations: 112.9 kB / 303.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.01217, allocations: 71.14 kB / 303.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.01236, allocations: 7.984 kB / 303.9 MB, free: 3.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.01239, allocations: 8.5 kB / 303.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01239, allocations: 0 / 303.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of Templates: time 0.005651/0.01804, allocations: 1.097 MB / 305 MB, free: 2.328 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.431173026561737]