Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 78.02 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 153.8 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.981e-05, allocations: 2.984 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001277/0.001296, allocations: 0.5122 MB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.002877, allocations: 1.415 MB / 320.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.002901, allocations: 0 / 320.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.002915, allocations: 0 / 320.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006147/0.003529, allocations: 185.2 kB / 321 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.051e-05/0.00355, allocations: 5.938 kB / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.397e-05/0.003604, allocations: 15.98 kB / 321 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.003647, allocations: 8.328 kB / 321 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.003705, allocations: 6.312 kB / 321.1 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.003749, allocations: 7.609 kB / 321.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.003763, allocations: 3.984 kB / 321.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.004117, allocations: 226 kB / 321.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.004129, allocations: 6.016 kB / 321.3 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.004146, allocations: 3.484 kB / 321.3 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.004455, allocations: 218.5 kB / 321.5 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004458, allocations: 0.7969 kB / 321.5 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004459, allocations: 4.969 kB / 321.5 MB, free: 2.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.004463, allocations: 0 / 321.5 MB, free: 2.039 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.0003287/0.004792, allocations: 286.2 kB / 321.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.004824, allocations: 9.984 kB / 321.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.004853, allocations: 6.766 kB / 321.8 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.004932, allocations: 110.9 kB / 321.9 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004944, allocations: 5.531 kB / 321.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.004965, allocations: 1.594 kB / 321.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.125e-05/0.005036, allocations: 40.75 kB / 322 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005047, allocations: 5.344 kB / 322 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.005056, allocations: 1.266 kB / 322 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.00506, allocations: 5.156 kB / 322 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.005091, allocations: 10.3 kB / 322 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.005194, allocations: 104.1 kB / 322.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.005264, allocations: 33.09 kB / 322.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.005284, allocations: 11.77 kB / 322.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.005298, allocations: 1.797 kB / 322.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.005315, allocations: 32.41 kB / 322.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005316, allocations: 0 / 322.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001349/0.005451, allocations: 50.41 kB / 322.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.00547, allocations: 56.44 kB / 322.3 MB, free: 1.258 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.00553, allocations: 102.8 kB / 322.4 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.341e-06/0.005536, allocations: 25.7 kB / 322.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.005554, allocations: 86.17 kB / 322.5 MB, free: 1.039 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.005578, allocations: 14.38 kB / 322.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.005606, allocations: 19.77 kB / 322.5 MB, free: 1.008 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.005643, allocations: 312.3 kB / 322.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.005662, allocations: 16.73 kB / 322.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.005684, allocations: 18.41 kB / 322.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.005725, allocations: 32.61 kB / 322.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005726, allocations: 0 / 322.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.869e-05/0.005805, allocations: 58.42 kB / 322.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005816, allocations: 5.562 kB / 322.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005821, allocations: 1.25 kB / 322.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.005834, allocations: 0 / 322.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.005908, allocations: 12.33 kB / 323 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.005913, allocations: 5.766 kB / 323 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.005933, allocations: 1.562 kB / 323 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.005937, allocations: 1.375 kB / 323 MB, free: 0.5898 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 3.703e-05/0.005974, allocations: 113.6 kB / 323.1 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.005985, allocations: 1.438 kB / 323.1 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.006006, allocations: 8.812 kB / 323.1 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006008, allocations: 13.16 kB / 323.1 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.006012, allocations: 4.641 kB / 323.1 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.006014, allocations: 0 / 323.1 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.997e-05/0.006064, allocations: 104.8 kB / 323.2 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006065, allocations: 5.172 kB / 323.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.006128, allocations: 6.922 kB / 323.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006129, allocations: 0 / 323.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.006136, allocations: 5.406 kB / 323.2 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.006138, allocations: 0.5156 kB / 323.2 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006138, allocations: 0 / 323.2 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.00624, allocations: 80.73 kB / 323.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006246, allocations: 1.891 kB / 323.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.00626, allocations: 1.828 kB / 323.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.006279, allocations: 4 kB / 323.3 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.006297, allocations: 2.609 kB / 323.3 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.006302, allocations: 10.2 kB / 323.3 MB, free: 232 kB / 286.1 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.006326, allocations: 83.86 kB / 323.4 MB, free: 152 kB / 286.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006326, allocations: 1.031 kB / 323.4 MB, free: 152 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.006585, allocations: 59.47 kB / 323.5 MB, free: 136 kB / 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.0002576/0.006843, allocations: 154.1 kB / 323.6 MB, free: 32 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.006917, allocations: 17.88 kB / 323.6 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.006924, allocations: 0 / 323.6 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.006939, allocations: 12.03 kB / 323.6 MB, free: 24 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.007083, allocations: 4.516 kB / 323.7 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.007332, allocations: 115.6 kB / 323.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.708e-05/0.007389, allocations: 71.45 kB / 323.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.007457, allocations: 3.516 kB / 323.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.007487, allocations: 10.5 kB / 323.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.007488, allocations: 0 / 323.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Templates: time 0.003754/0.01124, allocations: 1.091 MB / 324.9 MB, free: 15.7 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.406392257660627]