Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005467/0.005467, allocations: 108.3 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001466/0.001466, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 259 MB, free: 8.035 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 59.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2779, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001954/0.2799, allocations: 0.5122 MB / 433.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.2822, allocations: 1.574 MB / 435.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.2823, allocations: 0 / 435.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.2823, allocations: 0 / 435.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006855/0.283, allocations: 171.5 kB / 435.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.528e-05/0.283, allocations: 4 kB / 435.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.2831, allocations: 19.91 kB / 435.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.2831, allocations: 4 kB / 435.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.2832, allocations: 11.94 kB / 435.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.2832, allocations: 7.984 kB / 435.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2832, allocations: 0 / 435.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.2837, allocations: 247.7 kB / 435.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.2837, allocations: 3.938 kB / 435.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.2837, allocations: 15.97 kB / 435.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.284, allocations: 169.8 kB / 435.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.284, allocations: 8 kB / 435.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.284, allocations: 4 kB / 435.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.284, allocations: 0 / 435.9 MB, free: 4.23 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.0004986/0.2845, allocations: 290 kB / 436.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2845, allocations: 12.03 kB / 436.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.2846, allocations: 0.9375 kB / 436.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2847, allocations: 110.5 kB / 436.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2847, allocations: 384 / 436.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.2848, allocations: 4.359 kB / 436.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2849, allocations: 42 kB / 436.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2849, allocations: 4 kB / 436.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.2849, allocations: 7.938 kB / 436.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2849, allocations: 0 / 436.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.2849, allocations: 15.86 kB / 436.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.2851, allocations: 124.8 kB / 436.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.2852, allocations: 30.58 kB / 436.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.2852, allocations: 16.94 kB / 436.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.2852, allocations: 4 kB / 436.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2853, allocations: 34.5 kB / 436.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2853, allocations: 0 / 436.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001687/0.2854, allocations: 53.58 kB / 436.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.2855, allocations: 55.41 kB / 436.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2856, allocations: 97.86 kB / 436.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2856, allocations: 25.7 kB / 436.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.2857, allocations: 84.12 kB / 436.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.2857, allocations: 19.91 kB / 436.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.2857, allocations: 13.72 kB / 436.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2859, allocations: 318.8 kB / 437.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.2859, allocations: 8 kB / 437.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.2859, allocations: 17.72 kB / 437.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.286, allocations: 33.66 kB / 437.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.286, allocations: 4 kB / 437.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.566e-05/0.2861, allocations: 49.69 kB / 437.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.2861, allocations: 11.94 kB / 437.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2861, allocations: 0 / 437.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2861, allocations: 0 / 437.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.2862, allocations: 15.92 kB / 437.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2862, allocations: 0 / 437.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.2862, allocations: 0 / 437.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2862, allocations: 4.422 kB / 437.4 MB, free: 2.559 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 8.307e-05/0.2863, allocations: 113.9 kB / 437.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.2863, allocations: 3.938 kB / 437.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.2864, allocations: 7.688 kB / 437.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2864, allocations: 3.984 kB / 437.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2864, allocations: 0 / 437.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2864, allocations: 0 / 437.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.2865, allocations: 128.7 kB / 437.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2865, allocations: 7.938 kB / 437.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.2866, allocations: 7.984 kB / 437.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2866, allocations: 3.938 kB / 437.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2866, allocations: 4 kB / 437.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2866, allocations: 4 kB / 437.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2866, allocations: 0 / 437.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.2867, allocations: 77.06 kB / 437.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.2867, allocations: 7.875 kB / 437.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.2868, allocations: 7.922 kB / 437.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.2868, allocations: 4 kB / 437.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.2868, allocations: 4.031 kB / 437.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2868, allocations: 8.188 kB / 437.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.056e-05/0.2868, allocations: 79.28 kB / 437.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2868, allocations: 0 / 437.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.2871, allocations: 55.86 kB / 437.9 MB, free: 1.965 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.0002863/0.2874, allocations: 151.1 kB / 438.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.2875, allocations: 15.94 kB / 438.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2875, allocations: 4 kB / 438.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.2875, allocations: 7.984 kB / 438.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.2877, allocations: 11.02 kB / 438.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.288, allocations: 163.8 kB / 438.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.2884, allocations: 0.6768 MB / 438.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.2884, allocations: 11.44 kB / 438.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2884, allocations: 0 / 438.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of Templates: time 0.003444/0.2919, allocations: 1.195 MB / 440.1 MB, free: 15.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.302086321171373]