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.001654/0.001654, allocations: 109 kB / 17.28 MB, free: 6.059 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.002234/0.002234, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.388/1.388, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 43.09 kB / 300.8 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 49.46 MB / 350.2 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001868/0.1063, allocations: 0.583 MB / 350.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1083, allocations: 1.483 MB / 352.3 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.1083, allocations: 0 / 352.3 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.1084, allocations: 0 / 352.3 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.109, allocations: 149.3 kB / 352.4 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.788e-05/0.1091, allocations: 4 kB / 352.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.1091, allocations: 11.98 kB / 352.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.1092, allocations: 7.984 kB / 352.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.1093, allocations: 11.94 kB / 352.5 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.1093, allocations: 7.938 kB / 352.5 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1093, allocations: 0 / 352.5 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.1097, allocations: 239.7 kB / 352.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.1097, allocations: 4 kB / 352.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.1098, allocations: 11.94 kB / 352.7 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.11, allocations: 119.8 kB / 352.9 MB, free: 1.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.11, allocations: 0 / 352.9 MB, free: 1.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.11, allocations: 0 / 352.9 MB, free: 1.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.11, allocations: 4 kB / 352.9 MB, free: 1.887 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.000472/0.1105, allocations: 363.7 kB / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1105, allocations: 8.031 kB / 353.2 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1106, allocations: 4.938 kB / 353.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1107, allocations: 164.3 kB / 353.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1108, allocations: 12.31 kB / 353.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1108, allocations: 384 / 353.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.108e-05/0.1109, allocations: 45.94 kB / 353.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1109, allocations: 3.984 kB / 353.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1109, allocations: 4 kB / 353.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-06/0.1109, allocations: 0 / 353.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.111, allocations: 11.92 kB / 353.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1111, allocations: 157.7 kB / 353.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.1112, allocations: 30.58 kB / 353.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.1112, allocations: 12.94 kB / 353.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.1112, allocations: 4 kB / 353.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1113, allocations: 42.5 kB / 353.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1113, allocations: 0 / 353.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001409/0.1114, allocations: 49.62 kB / 353.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1115, allocations: 51.41 kB / 353.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.1116, allocations: 101.9 kB / 353.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1116, allocations: 25.7 kB / 353.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.1116, allocations: 84.12 kB / 354 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1117, allocations: 11.81 kB / 354 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.1117, allocations: 17.72 kB / 354 MB, free: 0.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1118, allocations: 318.8 kB / 354.4 MB, free: 184 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.1119, allocations: 7.984 kB / 354.4 MB, free: 176 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.1119, allocations: 17.72 kB / 354.4 MB, free: 152 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.112, allocations: 33.66 kB / 354.4 MB, free: 112 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.112, allocations: 0 / 354.4 MB, free: 112 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.441e-05/0.1121, allocations: 57.62 kB / 354.5 MB, free: 48 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1121, allocations: 7.938 kB / 354.5 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1121, allocations: 0 / 354.5 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1121, allocations: 4 kB / 354.5 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.1122, allocations: 7.984 kB / 354.5 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1122, allocations: 4 kB / 354.5 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.1122, allocations: 3.938 kB / 354.5 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-06/0.1122, allocations: 0 / 354.5 MB, free: 20 kB / 286.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.735e-05/0.1123, allocations: 113.8 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.1124, allocations: 11.88 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.1124, allocations: 3.5 kB / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1124, allocations: 432 / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1124, allocations: 4 kB / 354.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1124, allocations: 3.938 kB / 354.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1125, allocations: 157.7 kB / 354.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1125, allocations: 0 / 354.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.1126, allocations: 11.98 kB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.1126, allocations: 11.86 kB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1126, allocations: 4 kB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1127, allocations: 8.062 kB / 354.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1127, allocations: 4 kB / 354.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.1128, allocations: 69.12 kB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1128, allocations: 81.05 kB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1129, allocations: 8.016 kB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.1129, allocations: 4 kB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.1129, allocations: 0 / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1129, allocations: 0 / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.77e-05/0.113, allocations: 83.34 kB / 355.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.113, allocations: 0 / 355.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1132, allocations: 59.98 kB / 355.1 MB, free: 15.29 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.0002691/0.1135, allocations: 147.2 kB / 355.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.545e-05/0.1136, allocations: 23.92 kB / 355.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1136, allocations: 0 / 355.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.1136, allocations: 4 kB / 355.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1138, allocations: 8.062 kB / 355.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.1141, allocations: 167.9 kB / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1144, allocations: 0.6807 MB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.1144, allocations: 7.438 kB / 356.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1144, allocations: 0 / 356.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of Templates: time 0.002997/0.1174, allocations: 1.14 MB / 357.3 MB, free: 13.05 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 -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