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.001922/0.001922, allocations: 106.6 kB / 18.45 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00232/0.00232, allocations: 213.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.959/1.959, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 55.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3442, allocations: 50.55 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002712/0.3469, allocations: 0.52 MB / 410.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.3508, allocations: 1.539 MB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.3509, allocations: 4 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.3509, allocations: 0 / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.3521, allocations: 179.5 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.061e-05/0.3522, allocations: 0 / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.935e-05/0.3523, allocations: 19.92 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.3524, allocations: 3.984 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.3524, allocations: 7.938 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.3525, allocations: 4 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3526, allocations: 4 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.3533, allocations: 247.7 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.3534, allocations: 15.92 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.3534, allocations: 0 / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.3539, allocations: 179.6 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3539, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.354, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.354, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.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.0006833/0.3547, allocations: 367.3 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.3547, allocations: 12.03 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.3548, allocations: 0.9375 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.355, allocations: 168.3 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3551, allocations: 384 / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.3551, allocations: 4.375 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3553, allocations: 42 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3553, allocations: 3.938 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3553, allocations: 0 / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3554, allocations: 0 / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.3554, allocations: 11.92 kB / 413.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.3557, allocations: 157.7 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3558, allocations: 30.58 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.3559, allocations: 12.86 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3559, allocations: 4.078 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.356, allocations: 38.5 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.356, allocations: 0 / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002409/0.3563, allocations: 61.52 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3563, allocations: 51.41 kB / 413.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3565, allocations: 97.86 kB / 413.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3565, allocations: 25.7 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3566, allocations: 88.12 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.3567, allocations: 9.172 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.3567, allocations: 17.72 kB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3569, allocations: 310.8 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.357, allocations: 11.98 kB / 414.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.357, allocations: 21.72 kB / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.439e-05/0.3572, allocations: 29.66 kB / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3572, allocations: 0 / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001625/0.3573, allocations: 57.59 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3574, allocations: 11.88 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3574, allocations: 0 / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3574, allocations: 4.031 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3576, allocations: 11.98 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3576, allocations: 0 / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.3576, allocations: 4 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3577, allocations: 4.125 kB / 414.3 MB, free: 13.04 MB / 334.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.0001106/0.3578, allocations: 109.8 kB / 414.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3578, allocations: 11.94 kB / 414.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3579, allocations: 3.5 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3579, allocations: 0 / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.3579, allocations: 4 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.358, allocations: 0 / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3582, allocations: 165.5 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3583, allocations: 0 / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3584, allocations: 11.92 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3584, allocations: 3.938 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3584, allocations: 4 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3585, allocations: 4 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.3585, allocations: 0 / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.3587, allocations: 80.97 kB / 414.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.3588, allocations: 81.05 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3588, allocations: 0 / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.3588, allocations: 7.984 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.3589, allocations: 4.031 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3589, allocations: 0 / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.3591, allocations: 79.75 kB / 414.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3591, allocations: 0 / 414.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005109/0.3596, allocations: 55.98 kB / 414.9 MB, free: 12.32 MB / 334.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.0004532/0.3601, allocations: 155.2 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.3603, allocations: 32.06 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3603, allocations: 0 / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.3603, allocations: 8 kB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3606, allocations: 7.984 kB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3611, allocations: 152 kB / 415.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3615, allocations: 0.6807 MB / 415.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.3615, allocations: 11.44 kB / 415.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3615, allocations: 0 / 415.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of Templates: time 0.005101/0.3666, allocations: 1.202 MB / 417.1 MB, free: 10 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches