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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 118.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 202.7 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2026, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001415/0.204, allocations: 0.5083 MB / 410.4 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.2058, allocations: 1.546 MB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.2058, allocations: 0 / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.2058, allocations: 0 / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.2064, allocations: 179.4 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.239e-05/0.2064, allocations: 11.94 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.2065, allocations: 8 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.2065, allocations: 7.984 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.2065, allocations: 7.938 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.2066, allocations: 7.922 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2066, allocations: 4 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.207, allocations: 243.7 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.207, allocations: 7.938 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.207, allocations: 7.938 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2073, allocations: 175.7 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2073, allocations: 4 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2073, allocations: 0 / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.2073, allocations: 0 / 412.6 MB, free: 14.86 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.0003812/0.2077, allocations: 363.3 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2077, allocations: 12.03 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2078, allocations: 0.9375 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2079, allocations: 168.4 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.2079, allocations: 384 / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2079, allocations: 384 / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.208, allocations: 46 kB / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.208, allocations: 0 / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.208, allocations: 0 / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.208, allocations: 7.938 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.2081, allocations: 11.92 kB / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.2082, allocations: 153.7 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/0.2083, allocations: 30.58 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.2083, allocations: 16.86 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.2083, allocations: 4.078 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2084, allocations: 34.5 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2084, allocations: 0 / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001222/0.2085, allocations: 53.53 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2085, allocations: 51.41 kB / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.2086, allocations: 101.9 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2086, allocations: 25.7 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.2087, allocations: 92.11 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2087, allocations: 13.17 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.2087, allocations: 17.72 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.2088, allocations: 314.8 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.2088, allocations: 7.984 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.2089, allocations: 17.72 kB / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.2089, allocations: 37.78 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2089, allocations: 4 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.767e-05/0.209, allocations: 57.91 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2091, allocations: 11.94 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2091, allocations: 0 / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2091, allocations: 4.031 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.2091, allocations: 11.98 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2092, allocations: 0 / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.2092, allocations: 0 / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.2092, allocations: 4 kB / 414.3 MB, free: 12.99 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 5.811e-05/0.2093, allocations: 117.8 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2093, allocations: 3.938 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.2093, allocations: 7.5 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2093, allocations: 0 / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2093, allocations: 0 / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.2094, allocations: 81.05 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.2094, allocations: 7.984 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.2094, allocations: 0 / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.2094, allocations: 7.938 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001331/0.2096, allocations: 132.8 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001546/0.2097, allocations: 226.8 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.909e-05/0.2098, allocations: 4.031 kB / 414.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.204e-05/0.2098, allocations: 87.27 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Backend: time 2.41e-07/0.2098, allocations: 0 / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.2103, allocations: 150.4 kB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of SimCode: time 0.000356/0.2106, allocations: 0.5735 MB / 415.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Templates: time 0.00308/0.2137, allocations: 1.177 MB / 416.8 MB, free: 10.31 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches