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.001212/0.001212, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.19 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002152/0.1069, allocations: 0.5218 MB / 359.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1095, allocations: 1.542 MB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.1095, allocations: 0 / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.1096, allocations: 3.938 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008141/0.1104, allocations: 175.4 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.692e-05/0.1105, allocations: 3.938 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.1105, allocations: 15.94 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1106, allocations: 11.98 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.1106, allocations: 7.938 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.1107, allocations: 7.984 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1107, allocations: 0 / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005429/0.1113, allocations: 251.7 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.1113, allocations: 7.938 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.1114, allocations: 4 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.1117, allocations: 171.7 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1118, allocations: 4 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1118, allocations: 4 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1118, allocations: 0 / 361.6 MB, free: 10.59 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.0005204/0.1123, allocations: 363.4 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1124, allocations: 8.031 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.1124, allocations: 4.938 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.1126, allocations: 168.2 kB / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1126, allocations: 4.375 kB / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1127, allocations: 384 / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.1128, allocations: 42 kB / 362.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1128, allocations: 4 kB / 362.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1128, allocations: 0 / 362.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1128, allocations: 3.938 kB / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.1129, allocations: 11.98 kB / 362.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.1131, allocations: 153.7 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.1132, allocations: 34.52 kB / 362.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.1132, allocations: 12.95 kB / 362.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1133, allocations: 7.984 kB / 362.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1133, allocations: 34.5 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.1133, allocations: 0 / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.1135, allocations: 49.62 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1135, allocations: 51.41 kB / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1137, allocations: 102 kB / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1137, allocations: 25.7 kB / 362.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.1137, allocations: 88.11 kB / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1138, allocations: 19.75 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1138, allocations: 17.72 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.114, allocations: 314.8 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.114, allocations: 7.984 kB / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.1141, allocations: 17.72 kB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.958e-05/0.1142, allocations: 33.89 kB / 363.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1142, allocations: 4 kB / 363.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001101/0.1143, allocations: 57.56 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1143, allocations: 7.938 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1143, allocations: 0 / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1144, allocations: 4 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.1144, allocations: 7.984 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.1145, allocations: 8.062 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.1145, allocations: 4 kB / 363.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1145, allocations: 4 kB / 363.3 MB, free: 8.715 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.227e-05/0.1146, allocations: 117.8 kB / 363.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.1146, allocations: 7.844 kB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.1147, allocations: 3.5 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1147, allocations: 4 kB / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1147, allocations: 0 / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1147, allocations: 0 / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1148, allocations: 153.7 kB / 363.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1149, allocations: 0 / 363.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.115, allocations: 15.92 kB / 363.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.115, allocations: 3.938 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.115, allocations: 4 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.115, allocations: 4 kB / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.115, allocations: 0 / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1152, allocations: 73.06 kB / 363.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.1152, allocations: 85.08 kB / 363.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1153, allocations: 3.984 kB / 363.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.698e-05/0.1153, allocations: 4 kB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.1153, allocations: 0 / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1153, allocations: 4.062 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.1154, allocations: 79.28 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1154, allocations: 0 / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.1158, allocations: 59.98 kB / 363.9 MB, free: 8 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.0003327/0.1162, allocations: 147.2 kB / 364 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.1163, allocations: 19.94 kB / 364 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1163, allocations: 4 kB / 364 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.1163, allocations: 7.984 kB / 364 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1165, allocations: 8.062 kB / 364 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.1168, allocations: 125.9 kB / 364.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1171, allocations: 0.6807 MB / 364.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.1172, allocations: 432 / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.1172, allocations: 15.38 kB / 364.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1173, allocations: 0 / 364.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Templates: time 0.004447/0.1217, allocations: 1.115 MB / 366 MB, free: 5.824 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 -s gbode -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