Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_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.00117/0.00117, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001063/0.001064, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 43.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.0989, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001655/0.1006, allocations: 0.5939 MB / 327.2 MB, free: 4.297 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1024, allocations: 1.558 MB / 328.7 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.1024, allocations: 0 / 328.7 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.458e-06/0.1024, allocations: 0 / 328.7 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1029, allocations: 131.8 kB / 328.9 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.711e-05/0.1029, allocations: 3.984 kB / 328.9 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 2.715e-05/0.1029, allocations: 11.94 kB / 328.9 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.697e-05/0.103, allocations: 8 kB / 328.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.103, allocations: 7.984 kB / 328.9 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.548e-05/0.103, allocations: 7.922 kB / 328.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-06/0.103, allocations: 4 kB / 328.9 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1033, allocations: 239.7 kB / 329.2 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.1033, allocations: 3.984 kB / 329.2 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.1034, allocations: 7.938 kB / 329.2 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1036, allocations: 167.7 kB / 329.3 MB, free: 2.141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1036, allocations: 3.938 kB / 329.3 MB, free: 2.137 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1036, allocations: 0 / 329.3 MB, free: 2.137 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1036, allocations: 0 / 329.3 MB, free: 2.137 MB / 270.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.0004443/0.104, allocations: 367.7 kB / 329.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1041, allocations: 12.03 kB / 329.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.1041, allocations: 4.938 kB / 329.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1043, allocations: 168.4 kB / 329.9 MB, free: 1.512 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1043, allocations: 4.312 kB / 329.9 MB, free: 1.508 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1043, allocations: 4.359 kB / 329.9 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.605e-05/0.1044, allocations: 42.02 kB / 329.9 MB, free: 1.457 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1044, allocations: 3.906 kB / 329.9 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1044, allocations: 0 / 329.9 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1044, allocations: 0 / 329.9 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.1045, allocations: 7.984 kB / 329.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.1046, allocations: 161.6 kB / 330.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.801e-05/0.1047, allocations: 34.61 kB / 330.1 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.1048, allocations: 12.86 kB / 330.1 MB, free: 1.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1048, allocations: 0 / 330.1 MB, free: 1.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1048, allocations: 34.5 kB / 330.2 MB, free: 1.137 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1048, allocations: 0 / 330.2 MB, free: 1.137 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001299/0.1049, allocations: 57.72 kB / 330.2 MB, free: 1.074 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.105, allocations: 51.41 kB / 330.3 MB, free: 1.012 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/0.1051, allocations: 101.8 kB / 330.4 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1051, allocations: 25.7 kB / 330.4 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.1051, allocations: 88.08 kB / 330.5 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1051, allocations: 15.8 kB / 330.5 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1052, allocations: 13.72 kB / 330.5 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.1053, allocations: 318.8 kB / 330.8 MB, free: 436 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.1053, allocations: 8 kB / 330.8 MB, free: 428 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.1053, allocations: 21.72 kB / 330.9 MB, free: 400 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.1054, allocations: 29.64 kB / 330.9 MB, free: 364 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1054, allocations: 0 / 330.9 MB, free: 364 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.46e-05/0.1055, allocations: 49.7 kB / 330.9 MB, free: 308 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1055, allocations: 15.92 kB / 330.9 MB, free: 292 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1055, allocations: 0 / 330.9 MB, free: 292 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1055, allocations: 4.031 kB / 331 MB, free: 288 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.1056, allocations: 11.94 kB / 331 MB, free: 276 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1056, allocations: 0 / 331 MB, free: 276 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1056, allocations: 432 / 331 MB, free: 276 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1056, allocations: 4 kB / 331 MB, free: 272 kB / 270.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.743e-05/0.1057, allocations: 113.8 kB / 331.1 MB, free: 148 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.1057, allocations: 7.938 kB / 331.1 MB, free: 140 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.1057, allocations: 3.5 kB / 331.1 MB, free: 128 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1058, allocations: 7.969 kB / 331.1 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1058, allocations: 4 kB / 331.1 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1058, allocations: 0 / 331.1 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.1059, allocations: 161.6 kB / 331.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1059, allocations: 0 / 331.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.106, allocations: 4 kB / 331.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.106, allocations: 7.875 kB / 331.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.106, allocations: 128 / 331.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.106, allocations: 8 kB / 331.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.106, allocations: 0 / 331.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1061, allocations: 81.06 kB / 331.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.1062, allocations: 85.03 kB / 331.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1062, allocations: 0 / 331.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.1062, allocations: 0 / 331.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.1062, allocations: 8.031 kB / 331.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1062, allocations: 0 / 331.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.1063, allocations: 79.28 kB / 331.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1063, allocations: 3.938 kB / 331.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1065, allocations: 51.98 kB / 331.6 MB, free: 15.55 MB / 286.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.000239/0.1068, allocations: 155.3 kB / 331.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.079e-05/0.1069, allocations: 19.94 kB / 331.8 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1069, allocations: 0 / 331.8 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.1069, allocations: 8 kB / 331.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.107, allocations: 3.984 kB / 331.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.1073, allocations: 136 kB / 331.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.1075, allocations: 0.6809 MB / 332.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.692e-05/0.1075, allocations: 4 kB / 332.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.1076, allocations: 11.44 kB / 332.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1076, allocations: 0 / 332.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of Templates: time 0.003639/0.1112, allocations: 1.058 MB / 333.7 MB, free: 13.42 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches