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.002053/0.002053, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.001877/0.001877, allocations: 169.7 kB / 25.03 MB, free: 8.414 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.488/1.488, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 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 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.944e-05/4.118e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001929/0.00197, allocations: 0.5458 MB / 250.9 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.004535, allocations: 1.467 MB / 252.4 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.004567, allocations: 0 / 252.4 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.004581, allocations: 0 / 252.4 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006951/0.005277, allocations: 179.3 kB / 252.6 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.229e-05/0.005299, allocations: 4 kB / 252.6 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.005356, allocations: 19.92 kB / 252.6 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.005396, allocations: 3.938 kB / 252.6 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.005469, allocations: 12 kB / 252.6 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.005528, allocations: 7.984 kB / 252.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.005545, allocations: 0 / 252.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.005985, allocations: 227.7 kB / 252.8 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.006, allocations: 3.938 kB / 252.8 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.006022, allocations: 4 kB / 252.8 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.006412, allocations: 211.5 kB / 253 MB, free: 1.238 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006415, allocations: 0 / 253 MB, free: 1.238 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006416, allocations: 0 / 253 MB, free: 1.238 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006421, allocations: 4 kB / 253 MB, free: 1.234 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.00064/0.007061, allocations: 391.9 kB / 253.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.007106, allocations: 11.98 kB / 253.4 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.007154, allocations: 4.938 kB / 253.4 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.007331, allocations: 120.6 kB / 253.6 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.007346, allocations: 4.312 kB / 253.6 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.007373, allocations: 384 / 253.6 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.007486, allocations: 38.25 kB / 253.6 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.007499, allocations: 4.125 kB / 253.6 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007511, allocations: 4.375 kB / 253.6 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.007519, allocations: 3.938 kB / 253.6 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.007566, allocations: 11.98 kB / 253.6 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.007808, allocations: 116.6 kB / 253.7 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.007913, allocations: 47.03 kB / 253.8 MB, free: 388 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.007949, allocations: 11.69 kB / 253.8 MB, free: 372 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.007963, allocations: 0 / 253.8 MB, free: 372 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.008005, allocations: 33.39 kB / 253.8 MB, free: 328 kB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.008006, allocations: 4 kB / 253.8 MB, free: 324 kB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001952/0.008201, allocations: 45.78 kB / 253.9 MB, free: 272 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.008268, allocations: 55.34 kB / 253.9 MB, free: 204 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.008441, allocations: 169.9 kB / 254.1 MB, free: 16 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.008489, allocations: 29.7 kB / 254.1 MB, free: 15.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.008586, allocations: 126.9 kB / 254.3 MB, free: 15.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.008638, allocations: 19.89 kB / 254.3 MB, free: 15.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.00869, allocations: 23.38 kB / 254.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003179/0.009008, allocations: 492.1 kB / 254.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.009032, allocations: 8 kB / 254.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.009075, allocations: 27.36 kB / 254.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.009139, allocations: 31.38 kB / 254.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009141, allocations: 0 / 254.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.009245, allocations: 62.05 kB / 254.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.009259, allocations: 4 kB / 254.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.009268, allocations: 4 kB / 254.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.009285, allocations: 0 / 254.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.009374, allocations: 8 kB / 254.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.009383, allocations: 3.938 kB / 254.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.009409, allocations: 7.938 kB / 254.9 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.009419, allocations: 7.984 kB / 254.9 MB, free: 15.12 MB / 250.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 0.0001543/0.009573, allocations: 156.5 kB / 255.1 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.009597, allocations: 11.94 kB / 255.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.009637, allocations: 11.72 kB / 255.1 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.009638, allocations: 128 / 255.1 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.00965, allocations: 7.938 kB / 255.1 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009653, allocations: 0 / 255.1 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.009782, allocations: 116.6 kB / 255.2 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.009783, allocations: 4 kB / 255.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.009847, allocations: 8 kB / 255.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.009848, allocations: 0 / 255.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009856, allocations: 0 / 255.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.009857, allocations: 0 / 255.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.009861, allocations: 4 kB / 255.3 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.01056, allocations: 96.3 kB / 255.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.01057, allocations: 4 kB / 255.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.01058, allocations: 0 / 255.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/0.0106, allocations: 0 / 255.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.01063, allocations: 4 kB / 255.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01063, allocations: 3.938 kB / 255.4 MB, free: 14.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.01072, allocations: 131.2 kB / 255.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01072, allocations: 0 / 255.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.01102, allocations: 47.88 kB / 255.5 MB, free: 14.46 MB / 250.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.0003112/0.01133, allocations: 159.1 kB / 255.7 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.01143, allocations: 27.72 kB / 255.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01143, allocations: 3.938 kB / 255.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.01147, allocations: 15.67 kB / 255.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.01163, allocations: 7.953 kB / 255.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.01195, allocations: 128.7 kB / 255.9 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.107e-05/0.01202, allocations: 67.28 kB / 255.9 MB, free: 13.99 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.051e-05/0.01207, allocations: 7.984 kB / 255.9 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.0121, allocations: 12.5 kB / 256 MB, free: 13.97 MB / 250.7 MB Notification: Performance of SimCode: time 9.31e-07/0.0121, allocations: 4.062 kB / 256 MB, free: 13.97 MB / 250.7 MB Notification: Performance of Templates: time 0.004486/0.01658, allocations: 1.114 MB / 257.1 MB, free: 12.86 MB / 250.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","/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.64306970697362]