Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009602/0.0009602, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 168.1 kB / 24.82 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.029/1.029, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.466e-05, allocations: 7.719 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001044/0.001058, allocations: 0.5231 MB / 273.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.002427, allocations: 1.505 MB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.002456, allocations: 0 / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.002471, allocations: 0 / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.002922, allocations: 179.3 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.184e-05/0.002934, allocations: 3.938 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.002977, allocations: 19.98 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.003008, allocations: 3.984 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.003064, allocations: 15.92 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.00311, allocations: 4 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.003123, allocations: 0 / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.003383, allocations: 235.6 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.003394, allocations: 3.984 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.003413, allocations: 7.938 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.003638, allocations: 223.5 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.00364, allocations: 0 / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003641, allocations: 4 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003645, allocations: 0 / 276 MB, free: 14.49 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.0002974/0.003942, allocations: 384.3 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003977, allocations: 15.98 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.003998, allocations: 0.9375 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.726e-05/0.004065, allocations: 116.6 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.004073, allocations: 384 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.004088, allocations: 4.375 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.061e-05/0.004138, allocations: 34.25 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.004145, allocations: 192 / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-06/0.00415, allocations: 8.312 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004155, allocations: 3.938 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.004172, allocations: 11.92 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.908e-05/0.004261, allocations: 105.2 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.004302, allocations: 31.06 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.004316, allocations: 19.81 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.004322, allocations: 0 / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.004339, allocations: 41.39 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.00434, allocations: 0 / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 8.743e-05/0.004427, allocations: 45.62 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.004448, allocations: 55.41 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/0.004504, allocations: 161.9 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.004513, allocations: 25.7 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.004543, allocations: 134.9 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.004568, allocations: 19.83 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.004589, allocations: 23.38 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.004685, allocations: 492.1 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.004693, allocations: 7.984 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.004709, allocations: 19.38 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.004738, allocations: 31.3 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.004739, allocations: 4 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.527e-05/0.004784, allocations: 53.62 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.004794, allocations: 11.12 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004798, allocations: 0 / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.004805, allocations: 0 / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.004857, allocations: 11.98 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.004859, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.004871, allocations: 7.938 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.004875, allocations: 8 kB / 277.9 MB, free: 12.44 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 4.883e-05/0.004924, allocations: 152.6 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.00493, allocations: 11.98 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.00495, allocations: 3.688 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004951, allocations: 0 / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.004952, allocations: 0 / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.004955, allocations: 3.938 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.359e-05/0.005009, allocations: 101.2 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.00501, allocations: 4.359 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.005039, allocations: 8 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.00504, allocations: 3.938 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.005046, allocations: 0 / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.005047, allocations: 0 / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005047, allocations: 4 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.621e-05/0.005123, allocations: 96.34 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.00513, allocations: 3.984 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.005137, allocations: 0 / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.005145, allocations: 4.125 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-06/0.005154, allocations: 4 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-06/0.005155, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.766e-05/0.005183, allocations: 131.2 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005183, allocations: 0 / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.005339, allocations: 47.88 kB / 278.5 MB, free: 11.81 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.0001564/0.005495, allocations: 167.1 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.96e-05/0.005545, allocations: 27.55 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.005546, allocations: 0 / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-06/0.005556, allocations: 15.69 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.445e-05/0.00565, allocations: 7.203 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.005816, allocations: 146.1 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.403e-05/0.00584, allocations: 55.3 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.095e-05/0.005871, allocations: 7.984 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.0059, allocations: 74.27 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.005901, allocations: 0 / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.002258/0.008159, allocations: 1.332 MB / 280.3 MB, free: 9.922 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.668022145051509]