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.001431/0.001431, allocations: 107.1 kB / 20.44 MB, free: 1.328 MB / 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.001494/0.001494, allocations: 205.3 kB / 23.72 MB, free: 4.5 MB / 14.72 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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 0.001547/0.001547, allocations: 47.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2572, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001589/0.2588, allocations: 0.5236 MB / 432.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2608, allocations: 1.469 MB / 433.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.2608, allocations: 0 / 433.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2609, allocations: 4 kB / 433.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006124/0.2615, allocations: 175.4 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.951e-05/0.2615, allocations: 0 / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.2615, allocations: 19.92 kB / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.2616, allocations: 0 / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.2616, allocations: 7.938 kB / 433.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.2617, allocations: 11.92 kB / 433.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2617, allocations: 4 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.2621, allocations: 239.7 kB / 434 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.2621, allocations: 7.922 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.2621, allocations: 8 kB / 434 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.2624, allocations: 169.8 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2624, allocations: 0 / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2624, allocations: 0 / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2624, allocations: 0 / 434.2 MB, free: 4.094 MB / 334.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.0004496/0.2629, allocations: 290 kB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2629, allocations: 12.03 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.263, allocations: 4.938 kB / 434.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2631, allocations: 122.4 kB / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2631, allocations: 384 / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.2632, allocations: 4.375 kB / 434.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.195e-05/0.2632, allocations: 38.02 kB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2633, allocations: 3.984 kB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2633, allocations: 0 / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2633, allocations: 0 / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.2633, allocations: 7.984 kB / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.2635, allocations: 113.3 kB / 434.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.2636, allocations: 34.52 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.2636, allocations: 8.859 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.2636, allocations: 3.938 kB / 434.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.2636, allocations: 42.64 kB / 434.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.2636, allocations: 0 / 434.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001578/0.2638, allocations: 53.56 kB / 434.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2638, allocations: 51.41 kB / 435 MB, free: 3.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2639, allocations: 101.9 kB / 435.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.264, allocations: 25.7 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.264, allocations: 80.14 kB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.264, allocations: 11.89 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.2641, allocations: 21.72 kB / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2642, allocations: 318.8 kB / 435.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.2642, allocations: 7.984 kB / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.2643, allocations: 17.72 kB / 435.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.2643, allocations: 25.72 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2643, allocations: 3.938 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.24e-05/0.2644, allocations: 53.69 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2644, allocations: 8 kB / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2644, allocations: 3.938 kB / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2644, allocations: 4.031 kB / 435.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.2645, allocations: 15.92 kB / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2645, allocations: 3.938 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.2646, allocations: 0 / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2646, allocations: 7.984 kB / 435.7 MB, free: 2.441 MB / 334.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 7.741e-05/0.2646, allocations: 109.8 kB / 435.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.2647, allocations: 7.953 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.2647, allocations: 7.625 kB / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2647, allocations: 0 / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2647, allocations: 432 / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2647, allocations: 4 kB / 435.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.2648, allocations: 109.4 kB / 435.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2648, allocations: 8 kB / 435.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.2648, allocations: 4 kB / 435.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2648, allocations: 0 / 435.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.2649, allocations: 3.984 kB / 435.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2649, allocations: 3.938 kB / 435.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2649, allocations: 0 / 435.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.265, allocations: 88.98 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.265, allocations: 3.938 kB / 436 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.265, allocations: 0 / 436 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.265, allocations: 12.03 kB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.2651, allocations: 0 / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.2651, allocations: 0 / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.2651, allocations: 87.27 kB / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2651, allocations: 0 / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.2654, allocations: 51.88 kB / 436.2 MB, free: 1.887 MB / 334.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.0002587/0.2656, allocations: 151.1 kB / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.2657, allocations: 23.92 kB / 436.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2657, allocations: 0 / 436.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.2658, allocations: 8.062 kB / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.2659, allocations: 4 kB / 436.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.2662, allocations: 130.2 kB / 436.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.2662, allocations: 63.34 kB / 436.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.097e-05/0.2663, allocations: 7.984 kB / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.2663, allocations: 7.438 kB / 436.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2663, allocations: 0 / 436.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Templates: time 0.00378/0.2701, allocations: 1.128 MB / 437.7 MB, free: 324 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] 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.39099052734673]