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.001404/0.001404, allocations: 115 kB / 17.94 MB, free: 5.672 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.001404/0.001405, allocations: 193.3 kB / 18.86 MB, free: 4.754 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.496/1.496, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001348/0.001348, allocations: 43.94 kB / 280.8 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 46.63 MB / 327.4 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002576/0.1076, allocations: 0.5901 MB / 328 MB, free: 4.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1106, allocations: 1.512 MB / 329.5 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.1107, allocations: 0 / 329.5 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.1107, allocations: 0 / 329.5 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009027/0.1116, allocations: 151.7 kB / 329.7 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.501e-05/0.1117, allocations: 0 / 329.7 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.1118, allocations: 15.88 kB / 329.7 MB, free: 2.512 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.1118, allocations: 11.92 kB / 329.7 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.1119, allocations: 7.984 kB / 329.7 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.112, allocations: 7.938 kB / 329.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.112, allocations: 0 / 329.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.1125, allocations: 251.7 kB / 330 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1126, allocations: 0 / 330 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.1126, allocations: 7.938 kB / 330 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.1129, allocations: 119.8 kB / 330.1 MB, free: 2.113 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1129, allocations: 0 / 330.1 MB, free: 2.113 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1129, allocations: 3.938 kB / 330.1 MB, free: 2.109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1129, allocations: 4 kB / 330.1 MB, free: 2.105 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.0005512/0.1135, allocations: 363.7 kB / 330.5 MB, free: 1.703 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1136, allocations: 8.031 kB / 330.5 MB, free: 1.695 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1136, allocations: 0.9375 kB / 330.5 MB, free: 1.695 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1138, allocations: 168.4 kB / 330.6 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1139, allocations: 384 / 330.6 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.1139, allocations: 4.375 kB / 330.6 MB, free: 1.488 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.114, allocations: 45.98 kB / 330.7 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1141, allocations: 3.906 kB / 330.7 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1141, allocations: 0 / 330.7 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1141, allocations: 0 / 330.7 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.1141, allocations: 7.984 kB / 330.7 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.1144, allocations: 165.7 kB / 330.9 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.1145, allocations: 30.58 kB / 330.9 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.1145, allocations: 8.859 kB / 330.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1145, allocations: 0 / 330.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.1146, allocations: 42.58 kB / 330.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 2.795e-06/0.1146, allocations: 0 / 330.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001835/0.1148, allocations: 53.56 kB / 331 MB, free: 1.055 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1148, allocations: 55.41 kB / 331 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.115, allocations: 97.86 kB / 331.1 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.115, allocations: 29.7 kB / 331.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.1151, allocations: 84.14 kB / 331.2 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.1151, allocations: 15.73 kB / 331.3 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.1152, allocations: 17.72 kB / 331.3 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1153, allocations: 310.8 kB / 331.6 MB, free: 420 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.1154, allocations: 15.98 kB / 331.6 MB, free: 404 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.1154, allocations: 21.72 kB / 331.6 MB, free: 376 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.249e-05/0.1155, allocations: 29.66 kB / 331.6 MB, free: 340 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1155, allocations: 0 / 331.6 MB, free: 340 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.1156, allocations: 53.69 kB / 331.7 MB, free: 280 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1157, allocations: 7.938 kB / 331.7 MB, free: 272 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1157, allocations: 3.938 kB / 331.7 MB, free: 268 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1157, allocations: 0 / 331.7 MB, free: 268 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1158, allocations: 15.92 kB / 331.7 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1158, allocations: 4.031 kB / 331.7 MB, free: 248 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.1159, allocations: 8 kB / 331.7 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1159, allocations: 0 / 331.7 MB, free: 240 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 0.0001296/0.116, allocations: 105.8 kB / 331.8 MB, free: 124 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.1161, allocations: 8.359 kB / 331.9 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1161, allocations: 7.5 kB / 331.9 MB, free: 100 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1161, allocations: 0 / 331.9 MB, free: 100 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1161, allocations: 0 / 331.9 MB, free: 100 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1161, allocations: 3.984 kB / 331.9 MB, free: 96 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1164, allocations: 165.6 kB / 332 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1164, allocations: 0 / 332 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.1165, allocations: 7.984 kB / 332 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1165, allocations: 3.938 kB / 332 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1165, allocations: 4 kB / 332 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1165, allocations: 0 / 332 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1165, allocations: 0 / 332 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1167, allocations: 77.06 kB / 332.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.1168, allocations: 85.11 kB / 332.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1168, allocations: 0 / 332.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.546e-05/0.1169, allocations: 7.969 kB / 332.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.1169, allocations: 3.984 kB / 332.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.1169, allocations: 4.125 kB / 332.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.301e-05/0.1169, allocations: 79.28 kB / 332.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.117, allocations: 0 / 332.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.1174, allocations: 51.98 kB / 332.3 MB, free: 15.53 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.0004026/0.1178, allocations: 155.2 kB / 332.5 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1179, allocations: 23.92 kB / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1179, allocations: 0 / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.1179, allocations: 8 kB / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1182, allocations: 0 / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.1185, allocations: 172 kB / 332.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1188, allocations: 0.6807 MB / 333.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.1189, allocations: 11.44 kB / 333.4 MB, free: 14.42 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1189, allocations: 0 / 333.4 MB, free: 14.42 MB / 286.1 MB Notification: Performance of Templates: time 0.004143/0.123, allocations: 1.14 MB / 334.5 MB, free: 13.28 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/jenkins1/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