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.0009865/0.0009865, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001225/0.001225, allocations: 169.9 kB / 24.91 MB, free: 9.188 MB / 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 0.9461/0.9461, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.173e-06/1.173e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.566e-05, allocations: 2.312 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.000979/0.0009947, allocations: 0.5397 MB / 274 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.002375, allocations: 1.524 MB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.002392, allocations: 0 / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.826e-06/0.0024, allocations: 0 / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.002801, allocations: 175.3 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.327e-05/0.002814, allocations: 7.984 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.538e-05/0.002849, allocations: 11.92 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.531e-05/0.002874, allocations: 8 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.00292, allocations: 11.98 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.312e-05/0.002953, allocations: 4 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.002961, allocations: 0 / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.003208, allocations: 239.5 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.003219, allocations: 8 kB / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.067e-06/0.003228, allocations: 0 / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.003426, allocations: 219.5 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003428, allocations: 0 / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003429, allocations: 0 / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.993e-06/0.003431, allocations: 4 kB / 276.2 MB, free: 14.56 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.0002373/0.003668, allocations: 272.5 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.003694, allocations: 8.031 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.959e-05/0.003713, allocations: 8.938 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.105e-05/0.003774, allocations: 105.8 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.003781, allocations: 384 / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.003793, allocations: 384 / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.353e-05/0.003836, allocations: 34.25 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003843, allocations: 4.188 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-06/0.003848, allocations: 384 / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.003852, allocations: 11.94 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.003874, allocations: 11.92 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.854e-05/0.003943, allocations: 61.05 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.003982, allocations: 30.55 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.003995, allocations: 12.98 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-06/0.004, allocations: 0 / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.004018, allocations: 30.56 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.004018, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 7.126e-05/0.004089, allocations: 45.62 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.004114, allocations: 55.41 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.998e-05/0.004164, allocations: 102.7 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.004172, allocations: 29.7 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.00419, allocations: 88.11 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.004212, allocations: 11.84 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.004231, allocations: 17.72 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.004296, allocations: 322.8 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.004305, allocations: 7.984 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.00432, allocations: 13.72 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.004347, allocations: 25.64 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.004348, allocations: 0 / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.263e-05/0.004391, allocations: 49.69 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.004399, allocations: 4 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.004403, allocations: 3.984 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.004413, allocations: 0 / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.004461, allocations: 15.88 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004464, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.004477, allocations: 11.94 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-06/0.00448, allocations: 0 / 277.5 MB, free: 13.03 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 3.991e-05/0.00452, allocations: 105.8 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.004527, allocations: 7.984 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.004544, allocations: 11.72 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004545, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004547, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.004549, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.836e-05/0.004598, allocations: 73.83 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004598, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.00463, allocations: 7.984 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.004631, allocations: 4 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.004638, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004639, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004639, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.971e-05/0.004709, allocations: 89.53 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.004714, allocations: 3.984 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-06/0.004722, allocations: 4 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.004729, allocations: 0 / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-06/0.004738, allocations: 8.031 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-06/0.004739, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.776e-06/0.004748, allocations: 8.859 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004748, allocations: 0 / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.005143, allocations: 51.86 kB / 277.9 MB, free: 12.61 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.0001628/0.005306, allocations: 148.2 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.755e-05/0.005354, allocations: 28.8 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.005356, allocations: 0 / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-06/0.005364, allocations: 12.86 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.602e-05/0.00541, allocations: 11.88 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.005563, allocations: 120.5 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.451e-05/0.005588, allocations: 63.28 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.414e-05/0.005612, allocations: 0 / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.005637, allocations: 51.38 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.005638, allocations: 64 / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Templates: time 0.002314/0.007952, allocations: 1.332 MB / 279.7 MB, free: 10.79 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","",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.579698447138071]