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.001138/0.001138, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001251/0.001251, allocations: 160.5 kB / 24.55 MB, free: 16 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 1.08/1.08, allocations: 177 MB / 204.8 MB, free: 5.559 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 2.214e-06/2.214e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.192e-05/4.413e-05, allocations: 13.2 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.007702/0.007746, allocations: 0.5301 MB / 273.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.009895, allocations: 1.52 MB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.009937, allocations: 0 / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005055/0.01499, allocations: 3.938 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.01572, allocations: 167.4 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.15e-05/0.01574, allocations: 4 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.0158, allocations: 19.92 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.01584, allocations: 4 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.0159, allocations: 15.86 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.01596, allocations: 7.984 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.01597, allocations: 0 / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.01634, allocations: 231.7 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.01635, allocations: 4 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.01637, allocations: 7.922 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.01669, allocations: 219.5 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01669, allocations: 4 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01669, allocations: 0 / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.0167, allocations: 0 / 275.6 MB, free: 14.69 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.0004438/0.01714, allocations: 388.3 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.01719, allocations: 11.98 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.01723, allocations: 12.92 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.01733, allocations: 112.6 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01735, allocations: 384 / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.01737, allocations: 4.312 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.01747, allocations: 34.25 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01748, allocations: 4.188 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.01749, allocations: 4.375 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.0175, allocations: 7.938 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.01752, allocations: 4 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.01768, allocations: 120.6 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.01775, allocations: 39.03 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.01777, allocations: 15.69 kB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.01778, allocations: 0 / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.01781, allocations: 41.33 kB / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.01781, allocations: 0 / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001496/0.01796, allocations: 45.78 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.01799, allocations: 59.34 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.01807, allocations: 157.9 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.01808, allocations: 29.7 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.01813, allocations: 130.9 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.01816, allocations: 15.78 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.0182, allocations: 23.38 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.01835, allocations: 0.4884 MB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.01837, allocations: 4 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.01839, allocations: 23.38 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.01844, allocations: 31.36 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01844, allocations: 4 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.949e-05/0.01853, allocations: 54 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01855, allocations: 8 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01855, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01857, allocations: 48 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.01866, allocations: 11.98 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01867, allocations: 3.938 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.01869, allocations: 4 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.01869, allocations: 4 kB / 277.5 MB, free: 12.6 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 7.845e-05/0.01877, allocations: 160.5 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.01878, allocations: 7.953 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.01882, allocations: 11.67 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01882, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.01882, allocations: 3.938 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01883, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.224e-05/0.01891, allocations: 116.6 kB / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01891, allocations: 128 / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.019, allocations: 15.98 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.019, allocations: 0 / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01902, allocations: 0 / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01902, allocations: 8 kB / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01902, allocations: 0 / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.01915, allocations: 84.38 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.01916, allocations: 7.875 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.01917, allocations: 4 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.01918, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.0192, allocations: 3.984 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.0192, allocations: 3.938 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.01925, allocations: 127.2 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01925, allocations: 0 / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.01953, allocations: 55.86 kB / 278.1 MB, free: 11.93 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.0002669/0.01979, allocations: 171 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.47e-05/0.01989, allocations: 19.69 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01989, allocations: 0 / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.01991, allocations: 23.61 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.02007, allocations: 4.859 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.02034, allocations: 134.2 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.703e-05/0.02038, allocations: 63.28 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.02043, allocations: 4.062 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.02045, allocations: 12.5 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02045, allocations: 0 / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Templates: time 0.003605/0.02406, allocations: 1.175 MB / 279.7 MB, free: 10.27 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: 3.078497616108507]