Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00186/0.00186, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001957/0.001957, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.487e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001523/0.001548, allocations: 0.5337 MB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.003837, allocations: 1.482 MB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.003863, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.003876, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.004518, allocations: 191.2 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.893e-05/0.004537, allocations: 0 / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.004587, allocations: 11.94 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.004621, allocations: 7.969 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.628e-05/0.004697, allocations: 15.94 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.004738, allocations: 0 / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004751, allocations: 0 / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.005172, allocations: 247.6 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.005182, allocations: 0 / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.005199, allocations: 4 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.005556, allocations: 215.5 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005558, allocations: 0 / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005559, allocations: 0 / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.005562, allocations: 0 / 275 MB, free: 15.14 MB / 266.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.0004902/0.006052, allocations: 395.8 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.006088, allocations: 12.03 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.006123, allocations: 0.9375 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.006257, allocations: 116.6 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.006271, allocations: 4.375 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.006288, allocations: 4.375 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/0.006366, allocations: 34.2 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006376, allocations: 192 / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.006382, allocations: 384 / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006388, allocations: 3.938 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.84e-05/0.006427, allocations: 11.98 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.006612, allocations: 116.6 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.006695, allocations: 39.09 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.006724, allocations: 11.69 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.006741, allocations: 11.94 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.006773, allocations: 33.39 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 3.155e-06/0.006776, allocations: 3.984 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001535/0.00693, allocations: 53.72 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.006974, allocations: 59.34 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.007101, allocations: 157.9 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.00712, allocations: 25.7 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.007193, allocations: 130.9 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.007224, allocations: 15.89 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.007262, allocations: 19.38 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000353/0.007615, allocations: 0.4884 MB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.007633, allocations: 4 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.007674, allocations: 35.3 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.00773, allocations: 31.38 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007732, allocations: 0 / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.747e-05/0.007829, allocations: 61.62 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.00784, allocations: 4 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.007844, allocations: 0 / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.007856, allocations: 0 / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.007928, allocations: 12.11 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.007937, allocations: 15.91 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.007962, allocations: 7.938 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.007966, allocations: 0 / 276.9 MB, free: 13.04 MB / 266.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.0001025/0.008069, allocations: 156.6 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.008079, allocations: 4 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.008101, allocations: 3.688 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.008103, allocations: 3.938 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.00811, allocations: 7.938 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.008112, allocations: 0 / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.008232, allocations: 128.6 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008233, allocations: 4 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.008291, allocations: 4 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.008296, allocations: 4 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.008302, allocations: 0 / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008303, allocations: 0 / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008304, allocations: 0 / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.008458, allocations: 96.36 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.008463, allocations: 0 / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.008474, allocations: 0 / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.745e-05/0.008492, allocations: 0 / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.008512, allocations: 4.469 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.008517, allocations: 11.91 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.008598, allocations: 135.2 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008598, allocations: 0 / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000251/0.008849, allocations: 51.86 kB / 277.5 MB, free: 12.36 MB / 266.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.0002805/0.009129, allocations: 159.1 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.388e-05/0.009223, allocations: 27.67 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009225, allocations: 0 / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.009251, allocations: 19.62 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.009391, allocations: 4.062 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.009667, allocations: 142.2 kB / 277.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.009725, allocations: 67.28 kB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.009762, allocations: 3.938 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.009781, allocations: 12.5 kB / 277.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.009782, allocations: 0 / 277.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Templates: time 0.004261/0.01404, allocations: 1.17 MB / 279.1 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.5434218109585345]