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.001279/0.001279, allocations: 102 kB / 16.5 MB, free: 6.641 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.001155/0.001155, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009186/0.0009186, allocations: 51.48 kB / 300 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08614, allocations: 49.44 MB / 349.4 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001571/0.08775, allocations: 0.5791 MB / 350 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.08943, allocations: 1.53 MB / 351.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.08946, allocations: 0 / 351.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.08948, allocations: 0 / 351.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.08992, allocations: 133.8 kB / 351.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.626e-05/0.08995, allocations: 4 kB / 351.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.541e-05/0.08999, allocations: 12 kB / 351.6 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.09003, allocations: 3.984 kB / 351.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.09007, allocations: 7.938 kB / 351.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.09012, allocations: 7.938 kB / 351.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.09013, allocations: 0 / 351.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.09046, allocations: 251.7 kB / 351.9 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.09048, allocations: 3.938 kB / 351.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.0905, allocations: 3.938 kB / 351.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.09075, allocations: 179.7 kB / 352.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09076, allocations: 0 / 352.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.09077, allocations: 0 / 352.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.09077, allocations: 0 / 352.1 MB, free: 2.16 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.000339/0.09112, allocations: 353.9 kB / 352.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.09115, allocations: 8.031 kB / 352.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.09119, allocations: 4.938 kB / 352.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.0913, allocations: 176.5 kB / 352.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.09131, allocations: 4.375 kB / 352.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.09133, allocations: 384 / 352.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.074e-05/0.09141, allocations: 49.94 kB / 352.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.09142, allocations: 0 / 352.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.09143, allocations: 0 / 352.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.09144, allocations: 0 / 352.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.09147, allocations: 8 kB / 352.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.09162, allocations: 153.7 kB / 352.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.09169, allocations: 34.61 kB / 352.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.09172, allocations: 16.86 kB / 352.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.09173, allocations: 0 / 352.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.09176, allocations: 42.44 kB / 352.9 MB, free: 1.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.09176, allocations: 0 / 352.9 MB, free: 1.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001146/0.09188, allocations: 45.78 kB / 353 MB, free: 1.117 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.09191, allocations: 51.41 kB / 353 MB, free: 1.055 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.09199, allocations: 105.8 kB / 353.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.09201, allocations: 29.64 kB / 353.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.09205, allocations: 84.14 kB / 353.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.09208, allocations: 15.81 kB / 353.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.09211, allocations: 17.7 kB / 353.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.0922, allocations: 314.8 kB / 353.6 MB, free: 476 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.09222, allocations: 4 kB / 353.6 MB, free: 472 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.09226, allocations: 25.64 kB / 353.6 MB, free: 440 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.0923, allocations: 33.72 kB / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.09231, allocations: 0 / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.671e-05/0.09239, allocations: 54.05 kB / 353.7 MB, free: 340 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.09241, allocations: 7.938 kB / 353.7 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.09242, allocations: 0 / 353.7 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.09243, allocations: 4 kB / 353.7 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.0925, allocations: 4 kB / 353.7 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.09252, allocations: 4 kB / 353.7 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.09254, allocations: 0 / 353.7 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.09255, allocations: 3.938 kB / 353.7 MB, free: 316 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 5.479e-05/0.09261, allocations: 121.9 kB / 353.8 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.09263, allocations: 11.83 kB / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.09266, allocations: 3.5 kB / 353.9 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.09266, allocations: 4 kB / 353.9 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.09267, allocations: 0 / 353.9 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.09268, allocations: 0 / 353.9 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.847e-05/0.09278, allocations: 157.7 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.09279, allocations: 4 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.09286, allocations: 11.94 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.09287, allocations: 7.938 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.09288, allocations: 4 kB / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.09289, allocations: 3.984 kB / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.09289, allocations: 3.984 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.09302, allocations: 69.12 kB / 354.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.09306, allocations: 85.08 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.09308, allocations: 0 / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.0931, allocations: 4 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.09312, allocations: 4.062 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.09313, allocations: 0 / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.434e-05/0.09318, allocations: 87.2 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09318, allocations: 4 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000245/0.09343, allocations: 55.98 kB / 354.3 MB, free: 15.57 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.0002281/0.09367, allocations: 155.1 kB / 354.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.09374, allocations: 19.98 kB / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.09375, allocations: 64 / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.09378, allocations: 8 kB / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.09392, allocations: 11.94 kB / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.09413, allocations: 131.9 kB / 354.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.09436, allocations: 0.677 MB / 355.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.09442, allocations: 7.984 kB / 355.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.09444, allocations: 11.44 kB / 355.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09445, allocations: 4 kB / 355.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Templates: time 0.002957/0.09741, allocations: 1.057 MB / 356.4 MB, free: 13.43 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/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