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.0007665/0.0007665, allocations: 91.53 kB / 16.65 MB, free: 6.664 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.0008642/0.0008642, allocations: 177.2 kB / 17.56 MB, free: 6.156 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.315/1.315, allocations: 223.2 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002496/0.0002497, allocations: 4 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09588, allocations: 50.42 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0005473/0.09645, allocations: 252.6 kB / 352.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.09844, allocations: 1.519 MB / 353.6 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.09848, allocations: 4 kB / 353.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.0985, allocations: 0 / 353.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.09906, allocations: 119.7 kB / 353.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.48e-05/0.0991, allocations: 8 kB / 353.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.368e-05/0.09915, allocations: 11.98 kB / 353.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.0992, allocations: 7.984 kB / 353.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.09925, allocations: 11.94 kB / 353.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.09932, allocations: 7.938 kB / 353.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.09934, allocations: 0 / 353.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.09973, allocations: 239.7 kB / 354 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.09976, allocations: 4 kB / 354 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.09979, allocations: 33.64 kB / 354 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.1001, allocations: 167.7 kB / 354.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1001, allocations: 0 / 354.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1001, allocations: 8 kB / 354.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1001, allocations: 0 / 354.2 MB, free: 1.066 MB / 286.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.0003761/0.1005, allocations: 347.5 kB / 354.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1005, allocations: 12.03 kB / 354.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1006, allocations: 0.9375 kB / 354.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1007, allocations: 172.6 kB / 354.7 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1008, allocations: 4.375 kB / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1008, allocations: 384 / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.81e-05/0.1009, allocations: 45.94 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1009, allocations: 7.906 kB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1009, allocations: 0 / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1009, allocations: 0 / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.471e-05/0.101, allocations: 8 kB / 354.8 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1011, allocations: 157.7 kB / 355 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.1012, allocations: 34.61 kB / 355 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.1012, allocations: 12.8 kB / 355 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.1013, allocations: 4 kB / 355 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1013, allocations: 34.5 kB / 355 MB, free: 84 kB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1013, allocations: 0 / 355 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001311/0.1014, allocations: 49.72 kB / 355.1 MB, free: 28 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1015, allocations: 51.41 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.1016, allocations: 110 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1016, allocations: 29.64 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.1016, allocations: 84.14 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1017, allocations: 19.8 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1017, allocations: 9.719 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1018, allocations: 322.8 kB / 355.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.1019, allocations: 4 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.1019, allocations: 25.7 kB / 355.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.1019, allocations: 25.72 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.102, allocations: 0 / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.8e-05/0.102, allocations: 61.62 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1021, allocations: 7.938 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1021, allocations: 0 / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1021, allocations: 0 / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.1022, allocations: 8 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1022, allocations: 3.984 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.1022, allocations: 0 / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.1022, allocations: 4 kB / 355.8 MB, free: 15.21 MB / 302.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.439e-05/0.1023, allocations: 113.8 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.1023, allocations: 11.97 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.1024, allocations: 7.438 kB / 356 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1024, allocations: 0 / 356 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1024, allocations: 0 / 356 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1024, allocations: 0 / 356 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1025, allocations: 165.5 kB / 356.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1025, allocations: 128 / 356.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.1026, allocations: 8 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1026, allocations: 3.938 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1026, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1026, allocations: 8 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1026, allocations: 0 / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.1027, allocations: 77.11 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.1028, allocations: 81.05 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1028, allocations: 0 / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.1028, allocations: 4 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.1028, allocations: 4.031 kB / 356.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1029, allocations: 7.922 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.1029, allocations: 87.28 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1029, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1032, allocations: 55.98 kB / 356.5 MB, free: 14.48 MB / 302.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.0002346/0.1034, allocations: 151.1 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.37e-05/0.1035, allocations: 19.98 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1035, allocations: 0 / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.1035, allocations: 12.45 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1037, allocations: 3.375 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.1039, allocations: 142.8 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1042, allocations: 0.6848 MB / 357.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.1043, allocations: 4 kB / 357.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.1044, allocations: 7.438 kB / 357.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1044, allocations: 0 / 357.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Templates: time 0.003537/0.1079, allocations: 1.058 MB / 358.5 MB, free: 12.34 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/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