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.001477/0.001477, allocations: 112 kB / 17.68 MB, free: 5.332 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.001647/0.001647, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.325/1.325, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 58.44 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09907, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001693/0.1008, allocations: 0.5219 MB / 352 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1025, allocations: 1.471 MB / 353.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.1026, allocations: 3.938 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.1026, allocations: 4 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006115/0.1032, allocations: 179.4 kB / 353.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.469e-05/0.1033, allocations: 0 / 353.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.1033, allocations: 19.92 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1034, allocations: 0 / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.1034, allocations: 4 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.1035, allocations: 15.91 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1035, allocations: 7.938 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.1039, allocations: 235.8 kB / 353.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1039, allocations: 0 / 353.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.1039, allocations: 11.92 kB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1042, allocations: 175.7 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1042, allocations: 0 / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1042, allocations: 4 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1042, allocations: 3.938 kB / 354.1 MB, free: 1.02 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.0004358/0.1047, allocations: 363.4 kB / 354.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1047, allocations: 8.031 kB / 354.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1047, allocations: 4.938 kB / 354.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1049, allocations: 168.3 kB / 354.7 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1049, allocations: 384 / 354.7 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1049, allocations: 4.375 kB / 354.7 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.146e-05/0.105, allocations: 38.02 kB / 354.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.105, allocations: 0 / 354.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.105, allocations: 0 / 354.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.105, allocations: 0 / 354.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.1051, allocations: 11.92 kB / 354.7 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.1053, allocations: 161.7 kB / 354.9 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.091e-05/0.1053, allocations: 34.56 kB / 354.9 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.1054, allocations: 12.86 kB / 354.9 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1054, allocations: 0 / 354.9 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1054, allocations: 38.5 kB / 355 MB, free: 32 kB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1054, allocations: 0 / 355 MB, free: 32 kB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001673/0.1056, allocations: 57.7 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1056, allocations: 51.41 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.1057, allocations: 105.8 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1057, allocations: 25.7 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.1057, allocations: 80.14 kB / 355.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1058, allocations: 11.81 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1058, allocations: 21.66 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.1059, allocations: 314.8 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.1059, allocations: 8 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.106, allocations: 21.72 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.106, allocations: 33.64 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.106, allocations: 0 / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.859e-05/0.1061, allocations: 53.64 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1061, allocations: 7.938 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1062, allocations: 3.984 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1062, allocations: 4.031 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.1063, allocations: 8 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1063, allocations: 0 / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.1063, allocations: 7.938 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1063, allocations: 4 kB / 355.8 MB, free: 15.16 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 8.033e-05/0.1064, allocations: 113.8 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1064, allocations: 7.969 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.1064, allocations: 7.5 kB / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1065, allocations: 7.984 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1065, allocations: 7.938 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1065, allocations: 4 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1066, allocations: 153.7 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1066, allocations: 0 / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.1067, allocations: 8 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1067, allocations: 3.938 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1067, allocations: 4 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1067, allocations: 0 / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1067, allocations: 3.938 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.1068, allocations: 73.12 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.1069, allocations: 85.03 kB / 356.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1069, allocations: 8.031 kB / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.1069, allocations: 0 / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.1069, allocations: 0 / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.1069, allocations: 0 / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.107, allocations: 79.75 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.107, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1072, allocations: 55.98 kB / 356.4 MB, free: 14.44 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.0002254/0.1075, allocations: 159.2 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.69e-05/0.1076, allocations: 24.06 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1076, allocations: 0 / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.1076, allocations: 4 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1077, allocations: 7.984 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.108, allocations: 126.2 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1083, allocations: 0.6846 MB / 357.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.1083, allocations: 0 / 357.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.1084, allocations: 15.38 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1084, allocations: 0 / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.003272/0.1116, allocations: 1.07 MB / 358.5 MB, free: 12.29 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 -s gbode -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