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.001149/0.001149, allocations: 75.75 kB / 21.97 MB, free: 2.594 MB / 18.57 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.00179/0.00179, allocations: 161.5 kB / 25.32 MB, free: 9.121 MB / 18.57 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.005/1.005, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] 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 2.054e-06/2.054e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.129e-05, allocations: 5.266 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001489/0.00152, allocations: 0.543 MB / 251.6 MB, free: 6.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.003331, allocations: 1.486 MB / 253.1 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.003368, allocations: 0 / 253.1 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.003392, allocations: 7.938 kB / 253.1 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006574/0.00405, allocations: 183.3 kB / 253.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.042e-05/0.00407, allocations: 0 / 253.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.4e-05/0.004124, allocations: 15.92 kB / 253.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.004161, allocations: 3.984 kB / 253.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.004222, allocations: 11.98 kB / 253.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.004273, allocations: 7.938 kB / 253.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.004287, allocations: 4 kB / 253.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.004607, allocations: 227.7 kB / 253.5 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.004621, allocations: 7.922 kB / 253.5 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.004642, allocations: 8 kB / 253.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.004897, allocations: 203.5 kB / 253.7 MB, free: 4.805 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.004901, allocations: 3.984 kB / 253.7 MB, free: 4.801 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004902, allocations: 0 / 253.7 MB, free: 4.801 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004907, allocations: 0 / 253.7 MB, free: 4.801 MB / 234.7 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.0003793/0.005286, allocations: 388.3 kB / 254.1 MB, free: 4.387 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.005326, allocations: 15.98 kB / 254.1 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.005381, allocations: 8.938 kB / 254.1 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.005494, allocations: 120.5 kB / 254.3 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.005506, allocations: 384 / 254.3 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.005532, allocations: 384 / 254.3 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/0.005616, allocations: 34.2 kB / 254.3 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.005629, allocations: 12.12 kB / 254.3 MB, free: 4.168 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.005637, allocations: 384 / 254.3 MB, free: 4.168 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005645, allocations: 3.938 kB / 254.3 MB, free: 4.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.005669, allocations: 8 kB / 254.3 MB, free: 4.156 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.005811, allocations: 116.7 kB / 254.4 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.005873, allocations: 35.06 kB / 254.5 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.005899, allocations: 19.77 kB / 254.5 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.005908, allocations: 0 / 254.5 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.005935, allocations: 41.33 kB / 254.5 MB, free: 3.887 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.005936, allocations: 0 / 254.5 MB, free: 3.887 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001377/0.006074, allocations: 45.69 kB / 254.6 MB, free: 3.836 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.006106, allocations: 55.34 kB / 254.6 MB, free: 3.77 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.006186, allocations: 153.9 kB / 254.8 MB, free: 3.602 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.006197, allocations: 29.7 kB / 254.8 MB, free: 3.566 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.006236, allocations: 134.9 kB / 254.9 MB, free: 3.43 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.006266, allocations: 15.84 kB / 255 MB, free: 3.414 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.0063, allocations: 23.38 kB / 255 MB, free: 3.383 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.006417, allocations: 496.1 kB / 255.5 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.006434, allocations: 7.984 kB / 255.5 MB, free: 2.879 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.006458, allocations: 27.31 kB / 255.5 MB, free: 2.844 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.006495, allocations: 27.38 kB / 255.5 MB, free: 2.809 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006497, allocations: 0 / 255.5 MB, free: 2.809 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.673e-05/0.006564, allocations: 54.12 kB / 255.6 MB, free: 2.75 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.006578, allocations: 8 kB / 255.6 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.006584, allocations: 4 kB / 255.6 MB, free: 2.738 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.0066, allocations: 4.031 kB / 255.6 MB, free: 2.734 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.006675, allocations: 11.98 kB / 255.6 MB, free: 2.723 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.006682, allocations: 3.938 kB / 255.6 MB, free: 2.719 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.006697, allocations: 4.047 kB / 255.6 MB, free: 2.715 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006703, allocations: 7.984 kB / 255.6 MB, free: 2.707 MB / 234.7 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.113e-05/0.006775, allocations: 152.6 kB / 255.8 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.006787, allocations: 7.953 kB / 255.8 MB, free: 2.539 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.006823, allocations: 11.62 kB / 255.8 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.006826, allocations: 0 / 255.8 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.006831, allocations: 3.938 kB / 255.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.006836, allocations: 11.92 kB / 255.8 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.736e-05/0.006913, allocations: 112.6 kB / 255.9 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006914, allocations: 4 kB / 255.9 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.006955, allocations: 8 kB / 255.9 MB, free: 2.352 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006957, allocations: 0 / 255.9 MB, free: 2.352 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.006972, allocations: 3.984 kB / 255.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006973, allocations: 0 / 255.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006974, allocations: 4 kB / 255.9 MB, free: 2.344 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.007096, allocations: 84.38 kB / 256 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-06/0.007104, allocations: 3.953 kB / 256 MB, free: 2.234 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.007116, allocations: 4.031 kB / 256 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.007124, allocations: 4 kB / 256 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.007139, allocations: 3.984 kB / 256 MB, free: 2.223 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.007143, allocations: 3.938 kB / 256 MB, free: 2.219 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.007187, allocations: 131.1 kB / 256.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007187, allocations: 0 / 256.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.007365, allocations: 51.86 kB / 256.2 MB, free: 2.039 MB / 234.7 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.0001868/0.007552, allocations: 155.1 kB / 256.4 MB, free: 1.879 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.017e-05/0.007632, allocations: 23.67 kB / 256.4 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007634, allocations: 4.062 kB / 256.4 MB, free: 1.848 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.007647, allocations: 19.62 kB / 256.4 MB, free: 1.824 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.007749, allocations: 4 kB / 256.4 MB, free: 1.82 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.00798, allocations: 132.7 kB / 256.5 MB, free: 1.664 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.008009, allocations: 55.3 kB / 256.6 MB, free: 1.59 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.008048, allocations: 7.984 kB / 256.6 MB, free: 1.582 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.008069, allocations: 12.5 kB / 256.6 MB, free: 1.566 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00807, allocations: 0 / 256.6 MB, free: 1.566 MB / 234.7 MB Notification: Performance of Templates: time 0.002932/0.011, allocations: 1.121 MB / 257.7 MB, free: 456 kB / 234.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.990218121558428]