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.001251/0.001251, allocations: 107.5 kB / 18.4 MB, free: 4.699 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.001281/0.001281, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.487/1.487, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001145/0.001145, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1071, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002081/0.1093, allocations: 0.5266 MB / 376.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1117, allocations: 1.522 MB / 377.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.1117, allocations: 0 / 377.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.1118, allocations: 0 / 377.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008289/0.1126, allocations: 171.5 kB / 378 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.263e-05/0.1127, allocations: 7.922 kB / 378 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.1127, allocations: 15.98 kB / 378.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.1128, allocations: 3.938 kB / 378.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.1129, allocations: 11.94 kB / 378.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1129, allocations: 15.92 kB / 378.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1129, allocations: 0 / 378.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.1134, allocations: 239.7 kB / 378.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1134, allocations: 7.969 kB / 378.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1135, allocations: 11.94 kB / 378.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.1138, allocations: 159.8 kB / 378.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1138, allocations: 7.938 kB / 378.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1138, allocations: 0 / 378.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1138, allocations: 0 / 378.5 MB, free: 1.867 MB / 318.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.0005015/0.1143, allocations: 367.4 kB / 378.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1144, allocations: 8.031 kB / 378.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1144, allocations: 8.844 kB / 378.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1146, allocations: 164.4 kB / 379 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1146, allocations: 4.375 kB / 379 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1146, allocations: 4.375 kB / 379 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.1147, allocations: 34.02 kB / 379.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1148, allocations: 3.984 kB / 379.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1148, allocations: 7.938 kB / 379.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1148, allocations: 3.984 kB / 379.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.1148, allocations: 8 kB / 379.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.1151, allocations: 157.7 kB / 379.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.1151, allocations: 30.61 kB / 379.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.1152, allocations: 8.859 kB / 379.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.1152, allocations: 4 kB / 379.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1152, allocations: 42.44 kB / 379.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1152, allocations: 0 / 379.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001898/0.1154, allocations: 53.69 kB / 379.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.1155, allocations: 51.41 kB / 379.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1156, allocations: 101.8 kB / 379.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1156, allocations: 29.7 kB / 379.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.1157, allocations: 80.14 kB / 379.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1157, allocations: 7.844 kB / 379.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.1158, allocations: 25.72 kB / 379.7 MB, free: 492 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.116, allocations: 322.8 kB / 380 MB, free: 160 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.116, allocations: 4 kB / 380 MB, free: 156 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.116, allocations: 17.84 kB / 380 MB, free: 132 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.1161, allocations: 33.64 kB / 380.1 MB, free: 92 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.1161, allocations: 4 kB / 380.1 MB, free: 88 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.1162, allocations: 65.53 kB / 380.1 MB, free: 16 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1162, allocations: 7.938 kB / 380.1 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1163, allocations: 0 / 380.1 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1163, allocations: 4 kB / 380.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.1164, allocations: 4 kB / 380.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2533/0.3697, allocations: 0.5781 kB / 380.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.3698, allocations: 2.156 kB / 380.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.3698, allocations: 1.844 kB / 380.1 MB, free: 12.95 MB / 318.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 7.931e-05/0.3699, allocations: 107.9 kB / 380.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.37, allocations: 6.156 kB / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.37, allocations: 8.625 kB / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.37, allocations: 3.672 kB / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.37, allocations: 0 / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.37, allocations: 0.7031 kB / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.847e-05/0.3701, allocations: 155.4 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3701, allocations: 1.062 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.3702, allocations: 10.77 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3702, allocations: 3.984 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3703, allocations: 3.938 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3703, allocations: 0.75 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3703, allocations: 1 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3704, allocations: 78.78 kB / 380.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.3705, allocations: 80.59 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3705, allocations: 9 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.3705, allocations: 8.578 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.3705, allocations: 5.406 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3706, allocations: 4.422 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.3706, allocations: 80.73 kB / 380.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3706, allocations: 0 / 380.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.371, allocations: 50.83 kB / 380.8 MB, free: 12.41 MB / 318.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.000263/0.3712, allocations: 149.7 kB / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.3713, allocations: 22.69 kB / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3713, allocations: 0 / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.472e-05/0.3714, allocations: 10.14 kB / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.3715, allocations: 1.656 kB / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.3718, allocations: 150.6 kB / 381.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.372, allocations: 0.6848 MB / 381.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.372, allocations: 9.938 kB / 381.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.372, allocations: 3.844 kB / 381.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of Templates: time 0.003638/0.3756, allocations: 1.148 MB / 382.9 MB, free: 11.45 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches