Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 106.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.4 MB, free: 9.141 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 54.19 kB / 306.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.08499, allocations: 50.53 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001519/0.08655, allocations: 0.5947 MB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.08822, allocations: 1.542 MB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.08826, allocations: 0 / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.08828, allocations: 0 / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.08881, allocations: 151.7 kB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.134e-05/0.08885, allocations: 3.984 kB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.0889, allocations: 11.94 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.08894, allocations: 12 kB / 359.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.292e-05/0.08898, allocations: 7.938 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.213e-05/0.08903, allocations: 7.969 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.08904, allocations: 0 / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.08939, allocations: 255.7 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.08941, allocations: 3.938 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.08944, allocations: 8 kB / 359.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.08969, allocations: 175.6 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.0897, allocations: 0 / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.08971, allocations: 0 / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.08972, allocations: 0 / 359.7 MB, free: 11.43 MB / 302.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.0003777/0.0901, allocations: 359.7 kB / 360.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.09014, allocations: 8.031 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.09017, allocations: 4.938 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.0903, allocations: 176.3 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.09032, allocations: 4.375 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.09034, allocations: 384 / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/0.09042, allocations: 38 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.09043, allocations: 3.938 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.09044, allocations: 0 / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.09045, allocations: 0 / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.09049, allocations: 15.94 kB / 360.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.09064, allocations: 157.7 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.09072, allocations: 42.55 kB / 360.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.09075, allocations: 8.859 kB / 360.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.09076, allocations: 0 / 360.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.09079, allocations: 38.5 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.0908, allocations: 0 / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001221/0.09092, allocations: 49.72 kB / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.09096, allocations: 55.41 kB / 360.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.09105, allocations: 110 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.09107, allocations: 25.7 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.0911, allocations: 80.14 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.09114, allocations: 19.73 kB / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.09117, allocations: 17.72 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.09128, allocations: 314.8 kB / 361.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.0913, allocations: 4 kB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.09134, allocations: 25.7 kB / 361.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.09139, allocations: 29.66 kB / 361.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.0914, allocations: 0 / 361.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.954e-05/0.09148, allocations: 57.62 kB / 361.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.0915, allocations: 7.938 kB / 361.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09151, allocations: 4.125 kB / 361.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.09153, allocations: 4 kB / 361.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.0916, allocations: 8 kB / 361.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.09161, allocations: 4.031 kB / 361.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.09163, allocations: 0 / 361.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.09164, allocations: 0 / 361.4 MB, free: 9.555 MB / 302.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.402e-05/0.09172, allocations: 117.8 kB / 361.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.09174, allocations: 7.844 kB / 361.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.09177, allocations: 3.5 kB / 361.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.09177, allocations: 4 kB / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.09178, allocations: 0 / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.09179, allocations: 0 / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.0919, allocations: 161.6 kB / 361.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.0919, allocations: 0 / 361.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.09197, allocations: 8 kB / 361.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.09198, allocations: 3.938 kB / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.09199, allocations: 0 / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.09199, allocations: 0 / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.092, allocations: 7.922 kB / 361.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.09211, allocations: 73.12 kB / 361.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.09216, allocations: 89.14 kB / 361.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.09218, allocations: 0 / 361.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.0922, allocations: 0 / 361.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.09222, allocations: 3.938 kB / 361.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.09223, allocations: 7.984 kB / 361.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.09228, allocations: 83.28 kB / 361.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09229, allocations: 0 / 361.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.09255, allocations: 51.98 kB / 362 MB, free: 8.84 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.0002551/0.09281, allocations: 151.2 kB / 362.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.09291, allocations: 27.92 kB / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.09292, allocations: 0 / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.09294, allocations: 4.516 kB / 362.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.09307, allocations: 0 / 362.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.09331, allocations: 138.2 kB / 362.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.09354, allocations: 0.6807 MB / 363 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.0936, allocations: 7.938 kB / 363 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.09362, allocations: 7.438 kB / 363 MB, free: 7.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09363, allocations: 0 / 363 MB, free: 7.77 MB / 302.1 MB Notification: Performance of Templates: time 0.00306/0.09669, allocations: 1.124 MB / 364.1 MB, free: 6.645 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches