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.001386/0.001386, allocations: 111.8 kB / 17.74 MB, free: 5.305 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.001459/0.001459, allocations: 185.6 kB / 18.67 MB, free: 4.383 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009747/0.0009747, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2868, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001606/0.2885, allocations: 0.5255 MB / 401.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2903, allocations: 1.483 MB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.2904, allocations: 0 / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.2904, allocations: 0 / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.2911, allocations: 175.4 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.557e-05/0.2911, allocations: 4 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.2912, allocations: 15.92 kB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.2912, allocations: 4 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.2913, allocations: 4 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.2913, allocations: 7.922 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2914, allocations: 7.938 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.2917, allocations: 251.7 kB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.2918, allocations: 0 / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.2918, allocations: 7.938 kB / 403.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.2921, allocations: 171.7 kB / 404.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2921, allocations: 0 / 404.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2921, allocations: 0 / 404.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2921, allocations: 0 / 404.1 MB, free: 6.223 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.0004907/0.2926, allocations: 356.8 kB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2927, allocations: 15.97 kB / 404.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.2927, allocations: 8.844 kB / 404.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2929, allocations: 168.2 kB / 404.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2929, allocations: 4.359 kB / 404.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2929, allocations: 4.375 kB / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.327e-05/0.293, allocations: 38 kB / 404.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.293, allocations: 0 / 404.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.293, allocations: 0 / 404.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.293, allocations: 0 / 404.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.2931, allocations: 15.98 kB / 404.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.2933, allocations: 157.7 kB / 404.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.2933, allocations: 34.52 kB / 404.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.2934, allocations: 8.859 kB / 404.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.2934, allocations: 0 / 404.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2934, allocations: 38.58 kB / 404.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2934, allocations: 0 / 404.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.2936, allocations: 53.53 kB / 404.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2936, allocations: 55.41 kB / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.2937, allocations: 101.9 kB / 405.1 MB, free: 5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2937, allocations: 29.64 kB / 405.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.2938, allocations: 84.14 kB / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.2938, allocations: 11.89 kB / 405.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2939, allocations: 17.72 kB / 405.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.294, allocations: 310.8 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.294, allocations: 11.98 kB / 405.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.294, allocations: 17.72 kB / 405.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.2941, allocations: 33.66 kB / 405.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2941, allocations: 0 / 405.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.337e-05/0.2942, allocations: 57.59 kB / 405.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2942, allocations: 7.938 kB / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2942, allocations: 4.422 kB / 405.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2943, allocations: 0 / 405.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.2943, allocations: 19.95 kB / 405.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2944, allocations: 3.938 kB / 405.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.2944, allocations: 4.125 kB / 405.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.2944, allocations: 0 / 405.7 MB, free: 4.355 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 7.964e-05/0.2945, allocations: 109.8 kB / 405.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.2945, allocations: 3.938 kB / 405.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.2945, allocations: 15.48 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2945, allocations: 0 / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2945, allocations: 0 / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2945, allocations: 4 kB / 405.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.2947, allocations: 161.6 kB / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2947, allocations: 0 / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.2947, allocations: 11.98 kB / 406 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2948, allocations: 3.938 kB / 406 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2948, allocations: 0 / 406 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2948, allocations: 0 / 406 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2948, allocations: 0 / 406 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.2949, allocations: 84.97 kB / 406.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.295, allocations: 85.08 kB / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.295, allocations: 0 / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.761e-05/0.295, allocations: 0 / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.295, allocations: 3.984 kB / 406.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.295, allocations: 4 kB / 406.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.2951, allocations: 87.22 kB / 406.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2951, allocations: 0 / 406.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.2953, allocations: 51.98 kB / 406.3 MB, free: 3.641 MB / 318.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.0002462/0.2956, allocations: 147.2 kB / 406.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.538e-05/0.2957, allocations: 23.92 kB / 406.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2957, allocations: 0 / 406.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.2957, allocations: 8 kB / 406.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.2959, allocations: 4 kB / 406.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.2961, allocations: 156.1 kB / 406.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2964, allocations: 0.6766 MB / 407.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.2964, allocations: 19.48 kB / 407.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2964, allocations: 0 / 407.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of Templates: time 0.002611/0.2991, allocations: 1.152 MB / 408.5 MB, free: 1.387 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