Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.00151, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 227.6 MB / 247.4 MB, free: 8.816 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.53 kB / 307.4 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09658, allocations: 50.54 MB / 357.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00186/0.09848, allocations: 0.5822 MB / 358.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1007, allocations: 1.547 MB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.1007, allocations: 0 / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.1008, allocations: 0 / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006735/0.1014, allocations: 151.7 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.195e-05/0.1015, allocations: 0 / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.1015, allocations: 15.92 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.1016, allocations: 0 / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/0.1016, allocations: 19.92 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.1017, allocations: 4 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1017, allocations: 0 / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.1021, allocations: 251.7 kB / 360.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.1022, allocations: 3.938 kB / 360.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.1022, allocations: 3.984 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1024, allocations: 119.8 kB / 360.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1024, allocations: 7.938 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1024, allocations: 0 / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1024, allocations: 0 / 360.6 MB, free: 11.34 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.0004824/0.1029, allocations: 367.7 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.103, allocations: 8.031 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.103, allocations: 4.938 kB / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1032, allocations: 176.3 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1032, allocations: 4.375 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1032, allocations: 384 / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.044e-05/0.1033, allocations: 37.95 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1033, allocations: 0 / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1034, allocations: 7.984 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1034, allocations: 4 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.702e-05/0.1034, allocations: 8 kB / 361.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1036, allocations: 153.7 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.1037, allocations: 42.48 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.1037, allocations: 12.86 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.1038, allocations: 0 / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.1038, allocations: 42.5 kB / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.1038, allocations: 0 / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001613/0.104, allocations: 45.78 kB / 361.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.104, allocations: 51.41 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1041, allocations: 110 kB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1042, allocations: 25.7 kB / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.1042, allocations: 80.14 kB / 361.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.1043, allocations: 15.75 kB / 361.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1043, allocations: 21.66 kB / 361.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1045, allocations: 322.8 kB / 362.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.1045, allocations: 4 kB / 362.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.1045, allocations: 17.72 kB / 362.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/0.1046, allocations: 29.7 kB / 362.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1046, allocations: 0 / 362.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.489e-05/0.1047, allocations: 61.56 kB / 362.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1047, allocations: 11.97 kB / 362.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1047, allocations: 0 / 362.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1048, allocations: 4 kB / 362.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.1048, allocations: 4 kB / 362.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1049, allocations: 4 kB / 362.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.1049, allocations: 0 / 362.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.1049, allocations: 0 / 362.3 MB, free: 9.465 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 9.091e-05/0.105, allocations: 113.8 kB / 362.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.105, allocations: 11.78 kB / 362.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.105, allocations: 11.48 kB / 362.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1051, allocations: 4 kB / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1051, allocations: 0 / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1051, allocations: 0 / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1052, allocations: 157.7 kB / 362.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1052, allocations: 0 / 362.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.1053, allocations: 8 kB / 362.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1053, allocations: 3.938 kB / 362.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1053, allocations: 0 / 362.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1053, allocations: 4.125 kB / 362.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1053, allocations: 0 / 362.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1055, allocations: 81.11 kB / 362.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.1055, allocations: 81.08 kB / 362.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1055, allocations: 4 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.1056, allocations: 0 / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.1056, allocations: 7.875 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1056, allocations: 0 / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.1057, allocations: 87.27 kB / 362.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1057, allocations: 4.062 kB / 362.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1059, allocations: 52 kB / 362.9 MB, free: 8.742 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.0002757/0.1062, allocations: 155.2 kB / 363 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.931e-05/0.1063, allocations: 20.41 kB / 363 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1063, allocations: 3.938 kB / 363.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.1064, allocations: 7.938 kB / 363.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1065, allocations: 0 / 363.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.1068, allocations: 164.1 kB / 363.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1071, allocations: 0.6768 MB / 363.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.1072, allocations: 15.44 kB / 363.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1072, allocations: 0 / 363.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of Templates: time 0.003014/0.1102, allocations: 1.194 MB / 365.1 MB, free: 6.449 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches