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.0009528/0.0009528, allocations: 91.61 kB / 21.19 MB, free: 3.387 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.001289/0.001289, allocations: 164.5 kB / 24.56 MB, free: 24 kB / 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 0.9917/0.9917, allocations: 177 MB / 204.8 MB, free: 5.582 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.703e-06/1.703e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.586e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001137/0.001163, allocations: 0.5301 MB / 273.4 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.002655, allocations: 1.52 MB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.002683, allocations: 0 / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.0027, allocations: 3.938 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.003252, allocations: 171.4 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.197e-05/0.003274, allocations: 7.984 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.003334, allocations: 19.92 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.003371, allocations: 0 / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.003428, allocations: 11.92 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.003489, allocations: 8 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.003504, allocations: 0 / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.003833, allocations: 239.6 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.003848, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.003875, allocations: 4 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.004163, allocations: 223.4 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.004167, allocations: 4 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.004168, allocations: 0 / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.004173, allocations: 0 / 275.6 MB, free: 14.71 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.0004082/0.004582, allocations: 388.3 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.004624, allocations: 15.98 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.004664, allocations: 4.938 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004775, allocations: 108.6 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.004786, allocations: 4.375 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.004809, allocations: 4.375 kB / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.282e-05/0.004892, allocations: 34.25 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.004903, allocations: 8.188 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.004915, allocations: 384 / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.004934, allocations: 3.938 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.004964, allocations: 11.92 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.005107, allocations: 120.6 kB / 276.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.328e-05/0.00517, allocations: 39.09 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.005195, allocations: 11.69 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.005203, allocations: 4 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.005225, allocations: 33.39 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.005225, allocations: 0 / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001351/0.005361, allocations: 57.66 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.005396, allocations: 55.34 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.005468, allocations: 161.9 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.005477, allocations: 29.7 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.005513, allocations: 126.9 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.00554, allocations: 15.84 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.005568, allocations: 27.36 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005673, allocations: 496.1 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.005686, allocations: 4 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.005708, allocations: 23.36 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.005749, allocations: 39.67 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005751, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.069e-05/0.005812, allocations: 57.62 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.005825, allocations: 6.656 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005829, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.00584, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.005912, allocations: 8 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.005919, allocations: 3.938 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.005935, allocations: 8 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.005938, allocations: 0 / 277.5 MB, free: 12.62 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 5.865e-05/0.005997, allocations: 164.6 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-06/0.006003, allocations: 3.953 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.00603, allocations: 7.688 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006032, allocations: 0 / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006036, allocations: 7.938 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.006038, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.311e-05/0.006101, allocations: 120.6 kB / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006102, allocations: 0 / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.006142, allocations: 4 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006145, allocations: 4 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.006156, allocations: 4 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006157, allocations: 128 / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.006159, allocations: 7.938 kB / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.47e-05/0.006253, allocations: 84.38 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.006261, allocations: 7.984 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.006274, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.006282, allocations: 3.938 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.006296, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.006299, allocations: 7.938 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.282e-05/0.006332, allocations: 127.2 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006332, allocations: 0 / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.006511, allocations: 55.89 kB / 278.1 MB, free: 11.95 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.000194/0.006705, allocations: 163 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.407e-05/0.006779, allocations: 27.61 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006781, allocations: 0 / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.006794, allocations: 19.69 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.0069, allocations: 0 / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002229/0.007122, allocations: 138.2 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.007153, allocations: 59.28 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.00719, allocations: 12 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.007208, allocations: 12.5 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.007209, allocations: 0 / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.003169/0.01038, allocations: 1.306 MB / 279.8 MB, free: 10.16 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.733780858106911]