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.0009035/0.0009035, allocations: 94.61 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 204.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002668, allocations: 8 kB / 308.4 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.000677/0.1036, allocations: 253.1 kB / 360.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.106, allocations: 1.563 MB / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.106, allocations: 4 kB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.106, allocations: 0 / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.1067, allocations: 131.7 kB / 361.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.906e-05/0.1068, allocations: 7.984 kB / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.1068, allocations: 15.98 kB / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.1069, allocations: 0 / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.1069, allocations: 11.88 kB / 361.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.107, allocations: 11.98 kB / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.107, allocations: 0 / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.1075, allocations: 239.7 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1075, allocations: 11.92 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.1075, allocations: 33.69 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1078, allocations: 119.8 kB / 362.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1078, allocations: 0 / 362.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1078, allocations: 3.938 kB / 362.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1078, allocations: 0 / 362.3 MB, free: 10.63 MB / 302.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.0004388/0.1083, allocations: 355.8 kB / 362.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1083, allocations: 8.031 kB / 362.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.1084, allocations: 8.938 kB / 362.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1085, allocations: 176.3 kB / 362.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1085, allocations: 384 / 362.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1086, allocations: 8.281 kB / 362.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.1087, allocations: 45.94 kB / 362.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1087, allocations: 0 / 362.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1087, allocations: 0 / 362.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1087, allocations: 0 / 362.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.1087, allocations: 4 kB / 362.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1089, allocations: 157.7 kB / 363 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.109, allocations: 38.61 kB / 363.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.1091, allocations: 12.86 kB / 363.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.1091, allocations: 3.938 kB / 363.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1091, allocations: 42.44 kB / 363.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.1091, allocations: 0 / 363.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001486/0.1093, allocations: 45.78 kB / 363.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1093, allocations: 55.41 kB / 363.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.1094, allocations: 101.8 kB / 363.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1094, allocations: 25.7 kB / 363.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1095, allocations: 88.12 kB / 363.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1095, allocations: 11.81 kB / 363.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.1095, allocations: 9.719 kB / 363.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1096, allocations: 318.8 kB / 363.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.1097, allocations: 8 kB / 363.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.1097, allocations: 25.66 kB / 363.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.849e-05/0.1097, allocations: 29.7 kB / 363.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1098, allocations: 0 / 363.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.362e-05/0.1099, allocations: 58.05 kB / 363.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1099, allocations: 14.53 kB / 363.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1099, allocations: 0 / 363.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1099, allocations: 4 kB / 363.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.11, allocations: 8.031 kB / 363.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.11, allocations: 4 kB / 363.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.1101, allocations: 0 / 363.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1101, allocations: 0 / 363.9 MB, free: 8.77 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 7.768e-05/0.1101, allocations: 113.8 kB / 364 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1102, allocations: 11.92 kB / 364 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.1102, allocations: 7.484 kB / 364.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1102, allocations: 4 kB / 364.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1102, allocations: 0 / 364.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1102, allocations: 4 kB / 364.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1103, allocations: 161.5 kB / 364.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1103, allocations: 0 / 364.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.1104, allocations: 11.94 kB / 364.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1104, allocations: 3.938 kB / 364.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1104, allocations: 0 / 364.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1104, allocations: 0 / 364.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1104, allocations: 0 / 364.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1106, allocations: 77.23 kB / 364.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.1106, allocations: 89.14 kB / 364.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1107, allocations: 4 kB / 364.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.1107, allocations: 0 / 364.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.1107, allocations: 0 / 364.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1107, allocations: 0 / 364.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.1107, allocations: 95.2 kB / 364.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1108, allocations: 0 / 364.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.111, allocations: 48 kB / 364.5 MB, free: 8.047 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.0002717/0.1113, allocations: 159.1 kB / 364.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.1114, allocations: 19.98 kB / 364.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.1114, allocations: 4 kB / 364.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.1114, allocations: 7.938 kB / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1116, allocations: 0 / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.1119, allocations: 172.4 kB / 364.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.1121, allocations: 0.681 MB / 365.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.1122, allocations: 11.44 kB / 365.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1122, allocations: 0 / 365.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of Templates: time 0.003035/0.1152, allocations: 1.179 MB / 366.8 MB, free: 5.746 MB / 302.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