Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009469/0.0009469, allocations: 51.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2124, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001425/0.2138, allocations: 0.5386 MB / 401.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2155, allocations: 1.479 MB / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.2155, allocations: 3.938 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.156e-05/0.2155, allocations: 0 / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.2161, allocations: 173.3 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.318e-05/0.2161, allocations: 7.984 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.2162, allocations: 11.94 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.2162, allocations: 4 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.2163, allocations: 11.98 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.2163, allocations: 7.922 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.2163, allocations: 4 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.2167, allocations: 243.7 kB / 403.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.2167, allocations: 8 kB / 403.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.2167, allocations: 3.938 kB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.217, allocations: 171.7 kB / 404.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.217, allocations: 0 / 404.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.217, allocations: 0 / 404.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.217, allocations: 3.938 kB / 404.1 MB, free: 6.227 MB / 318.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.0003725/0.2174, allocations: 355.4 kB / 404.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2174, allocations: 8.031 kB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2175, allocations: 8.844 kB / 404.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2176, allocations: 172.4 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2176, allocations: 4.375 kB / 404.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.2176, allocations: 384 / 404.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.21e-05/0.2177, allocations: 38 kB / 404.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2177, allocations: 0 / 404.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.2178, allocations: 4 kB / 404.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2178, allocations: 0 / 404.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.2178, allocations: 11.94 kB / 404.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.218, allocations: 153.7 kB / 404.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.894e-05/0.218, allocations: 42.55 kB / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.2181, allocations: 8.859 kB / 404.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.2181, allocations: 0 / 404.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2181, allocations: 38.5 kB / 404.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2181, allocations: 0 / 404.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001309/0.2182, allocations: 53.62 kB / 404.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.2183, allocations: 51.41 kB / 405 MB, free: 5.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.2183, allocations: 114 kB / 405.1 MB, free: 5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2184, allocations: 25.7 kB / 405.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.2184, allocations: 80.14 kB / 405.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.2184, allocations: 7.906 kB / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.2185, allocations: 21.64 kB / 405.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.2186, allocations: 318.8 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.2186, allocations: 4 kB / 405.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.2186, allocations: 25.7 kB / 405.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.2187, allocations: 29.66 kB / 405.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2187, allocations: 0 / 405.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.188e-05/0.2188, allocations: 57.59 kB / 405.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2188, allocations: 7.938 kB / 405.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2188, allocations: 0 / 405.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2188, allocations: 4 kB / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.2189, allocations: 7.938 kB / 405.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2189, allocations: 8.031 kB / 405.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.2189, allocations: 1.266 kB / 405.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.2189, allocations: 0 / 405.7 MB, free: 4.371 MB / 318.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 6.444e-05/0.219, allocations: 113.8 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.219, allocations: 7.922 kB / 405.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.219, allocations: 3.5 kB / 405.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2191, allocations: 0 / 405.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2191, allocations: 4 kB / 405.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.2191, allocations: 81.05 kB / 405.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2191, allocations: 8.125 kB / 405.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.2191, allocations: 0 / 405.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.2192, allocations: 4 kB / 405.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001404/0.2193, allocations: 132.8 kB / 406 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001532/0.2195, allocations: 226.8 kB / 406.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.177e-05/0.2195, allocations: 12.02 kB / 406.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.2195, allocations: 83.34 kB / 406.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of Backend: time 2.41e-07/0.2195, allocations: 0 / 406.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004663/0.22, allocations: 149.8 kB / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003539/0.2204, allocations: 0.5812 MB / 407.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of Templates: time 0.002912/0.2233, allocations: 1.124 MB / 408.2 MB, free: 1.746 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches