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.001165/0.001165, allocations: 109.4 kB / 18.34 MB, free: 4.828 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.001216/0.001216, allocations: 192.1 kB / 19.28 MB, free: 3.898 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.35/1.35, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001264/0.001264, allocations: 55.86 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08565, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001735/0.08741, allocations: 0.5325 MB / 329.2 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.08923, allocations: 1.51 MB / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.08927, allocations: 0 / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.08931, allocations: 3.938 kB / 330.8 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.08991, allocations: 167.5 kB / 330.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.012e-05/0.08994, allocations: 3.938 kB / 330.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.09001, allocations: 23.91 kB / 330.9 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.09006, allocations: 4 kB / 331 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.09011, allocations: 7.938 kB / 331 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.09018, allocations: 11.92 kB / 331 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.0902, allocations: 0 / 331 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.09058, allocations: 243.7 kB / 331.2 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.09061, allocations: 3.984 kB / 331.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.09064, allocations: 15.92 kB / 331.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.09089, allocations: 159.8 kB / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.0909, allocations: 0 / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09091, allocations: 0 / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.09093, allocations: 8 kB / 331.4 MB, free: 1.051 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.0003741/0.0913, allocations: 367.3 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.09134, allocations: 8.031 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.09139, allocations: 0.9375 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.09152, allocations: 172.4 kB / 331.9 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.09154, allocations: 384 / 331.9 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.09157, allocations: 8.375 kB / 331.9 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.042e-05/0.09164, allocations: 37.95 kB / 332 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.09166, allocations: 7.891 kB / 332 MB, free: 380 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.09168, allocations: 7.938 kB / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.09169, allocations: 0 / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.09172, allocations: 8 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.09188, allocations: 157.7 kB / 332.2 MB, free: 156 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.09196, allocations: 30.61 kB / 332.2 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.09199, allocations: 8.859 kB / 332.2 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.092, allocations: 0 / 332.2 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.09203, allocations: 46.44 kB / 332.2 MB, free: 48 kB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.09203, allocations: 0 / 332.2 MB, free: 48 kB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001453/0.09218, allocations: 45.83 kB / 332.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.09223, allocations: 51.41 kB / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.09231, allocations: 101.8 kB / 332.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.09233, allocations: 29.7 kB / 332.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.09237, allocations: 84.14 kB / 332.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.0924, allocations: 11.75 kB / 332.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.09244, allocations: 21.72 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.09254, allocations: 314.8 kB / 332.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.09257, allocations: 8 kB / 332.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.0926, allocations: 25.66 kB / 332.9 MB, free: 15.31 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.09265, allocations: 25.83 kB / 332.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.09266, allocations: 4 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.09277, allocations: 66.05 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.09279, allocations: 7.938 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.0928, allocations: 0 / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.09282, allocations: 0 / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.0929, allocations: 11.94 kB / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.09291, allocations: 0 / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.09293, allocations: 4 kB / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.09294, allocations: 0 / 333 MB, free: 15.18 MB / 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 6.745e-05/0.09301, allocations: 109.8 kB / 333.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.09303, allocations: 11.95 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.09307, allocations: 11.48 kB / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.09307, allocations: 0 / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.09308, allocations: 0 / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.09309, allocations: 0 / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.273e-05/0.09319, allocations: 161.6 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0932, allocations: 0 / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.09326, allocations: 7.938 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.09327, allocations: 3.938 kB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.09329, allocations: 4 kB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.09329, allocations: 0 / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.0933, allocations: 4 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.09342, allocations: 81.05 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.09346, allocations: 81.05 kB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.09348, allocations: 0 / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.0935, allocations: 4.031 kB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.09352, allocations: 0 / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.09352, allocations: 0 / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.09357, allocations: 91.33 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09358, allocations: 0 / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.09382, allocations: 48 kB / 333.6 MB, free: 14.47 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.0002235/0.09405, allocations: 155.1 kB / 333.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.09413, allocations: 16 kB / 333.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09414, allocations: 0 / 333.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.09416, allocations: 11.98 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.09431, allocations: 3.938 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.09454, allocations: 138.3 kB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.09477, allocations: 0.6807 MB / 334.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.231e-05/0.09485, allocations: 3.938 kB / 334.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.09487, allocations: 11.44 kB / 334.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09488, allocations: 0 / 334.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of Templates: time 0.003192/0.09807, allocations: 1.075 MB / 335.7 MB, free: 12.32 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 -s cvode -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