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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 175.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 97.56 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.301e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.09939, allocations: 50.41 MB / 387.4 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4187, allocations: 75.39 MB / 462.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.419, allocations: 71.97 kB / 462.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.4294, allocations: 3.588 MB / 466.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4294, allocations: 4 kB / 466.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.4294, allocations: 0 / 466.5 MB, free: 15.83 MB / 346.7 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.0003307/0.4298, allocations: 370.4 kB / 466.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4298, allocations: 11.97 kB / 466.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.4299, allocations: 0.625 kB / 466.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.43, allocations: 170.9 kB / 467 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.43, allocations: 0 / 467 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.4301, allocations: 0 / 467 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.099e-05/0.4301, allocations: 15.98 kB / 467.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.839e-05/0.4302, allocations: 37.64 kB / 467.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4302, allocations: 0 / 467.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4302, allocations: 3.953 kB / 467.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4302, allocations: 3.984 kB / 467.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.4304, allocations: 134.2 kB / 467.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.4305, allocations: 30.72 kB / 467.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.4305, allocations: 8.844 kB / 467.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.4305, allocations: 8 kB / 467.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4305, allocations: 30.56 kB / 467.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4305, allocations: 0 / 467.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001169/0.4307, allocations: 41.64 kB / 467.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4307, allocations: 55.39 kB / 467.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.4308, allocations: 97 kB / 467.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.4308, allocations: 29.64 kB / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.4308, allocations: 80.14 kB / 467.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.4309, allocations: 11.81 kB / 467.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.4309, allocations: 0 / 467.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.431, allocations: 326.8 kB / 467.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.431, allocations: 4 kB / 467.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.4311, allocations: 17.72 kB / 468 MB, free: 14.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.841e-05/0.4311, allocations: 4 kB / 468 MB, free: 14.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4311, allocations: 0 / 468 MB, free: 14.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.309e-05/0.4312, allocations: 57.62 kB / 468 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4312, allocations: 4 kB / 468 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4312, allocations: 3.984 kB / 468 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4312, allocations: 0 / 468 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.4313, allocations: 11.98 kB / 468 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4313, allocations: 0 / 468 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.4314, allocations: 4 kB / 468 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.4314, allocations: 0.5625 kB / 468 MB, free: 14.09 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.027e-05/0.4314, allocations: 110.8 kB / 468.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.4315, allocations: 11.94 kB / 468.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.4315, allocations: 4.125 kB / 468.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.4315, allocations: 0 / 468.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4315, allocations: 0 / 468.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4315, allocations: 3.938 kB / 468.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.901e-05/0.4316, allocations: 146.2 kB / 468.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4316, allocations: 4 kB / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.4317, allocations: 4 kB / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4317, allocations: 0 / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.4317, allocations: 0 / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4317, allocations: 3.984 kB / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4317, allocations: 8 kB / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.4319, allocations: 69.36 kB / 468.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.4319, allocations: 85.08 kB / 468.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4319, allocations: 0 / 468.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.432, allocations: 48 / 468.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.432, allocations: 3.984 kB / 468.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.432, allocations: 4 kB / 468.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.527e-05/0.432, allocations: 95.27 kB / 468.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.432, allocations: 0 / 468.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.4323, allocations: 59.88 kB / 468.6 MB, free: 13.4 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/0.4326, allocations: 179 kB / 468.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.4327, allocations: 8 kB / 468.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4327, allocations: 0 / 468.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.4327, allocations: 12 kB / 468.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.936e-05/0.4328, allocations: 0 / 468.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.433, allocations: 99.88 kB / 468.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.4332, allocations: 0.6807 MB / 469.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.4333, allocations: 7.984 kB / 469.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.4333, allocations: 7.438 kB / 469.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4333, allocations: 0 / 469.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of Templates: time 0.002778/0.4361, allocations: 1.009 MB / 470.6 MB, free: 11.34 MB / 346.7 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","../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches