Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 198 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009102/0.0009101, allocations: 93.05 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1734/0.1734, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.455e-05, allocations: 8 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09297, allocations: 63.24 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3117/0.4047, allocations: 90.37 MB / 0.5996 GB, free: 3.613 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.4049, allocations: 66.41 kB / 0.5997 GB, free: 3.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03602/0.4409, allocations: 13.16 MB / 0.6125 GB, free: 8.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.441, allocations: 0 / 0.6125 GB, free: 8.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.441, allocations: 0 / 0.6125 GB, free: 8.359 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005197/0.4415, allocations: 461.3 kB / 0.613 GB, free: 7.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4415, allocations: 15.97 kB / 0.613 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.4416, allocations: 79.28 kB / 0.613 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.4417, allocations: 242.3 kB / 0.6133 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.4418, allocations: 154.5 kB / 0.6134 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.4418, allocations: 150.6 kB / 0.6136 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.471e-05/0.4419, allocations: 104.9 kB / 0.6137 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.4419, allocations: 79.28 kB / 0.6137 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.442, allocations: 150.6 kB / 0.6139 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.442, allocations: 154.6 kB / 0.614 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.4421, allocations: 150.6 kB / 0.6142 GB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.4423, allocations: 445.6 kB / 0.6146 GB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.4424, allocations: 177.1 kB / 0.6148 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.4424, allocations: 80.14 kB / 0.6149 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4424, allocations: 79.28 kB / 0.6149 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.4425, allocations: 131.5 kB / 0.6151 GB, free: 5.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4425, allocations: 0 / 0.6151 GB, free: 5.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.02e-05/0.4426, allocations: 29.7 kB / 0.6151 GB, free: 5.555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.4426, allocations: 155.3 kB / 0.6152 GB, free: 5.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.718e-05/0.4427, allocations: 89 kB / 0.6153 GB, free: 5.293 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4427, allocations: 25.7 kB / 0.6153 GB, free: 5.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.4427, allocations: 80.14 kB / 0.6154 GB, free: 5.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.4427, allocations: 3.938 kB / 0.6154 GB, free: 5.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.4427, allocations: 0 / 0.6154 GB, free: 5.176 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.4428, allocations: 310.8 kB / 0.6157 GB, free: 4.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-06/0.4428, allocations: 7.938 kB / 0.6157 GB, free: 4.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.4429, allocations: 4 kB / 0.6157 GB, free: 4.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.4429, allocations: 75.28 kB / 0.6158 GB, free: 4.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.4429, allocations: 79.23 kB / 0.6159 GB, free: 4.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.799e-05/0.443, allocations: 36.47 kB / 0.6159 GB, free: 4.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.443, allocations: 82.97 kB / 0.616 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.443, allocations: 83.27 kB / 0.6161 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.771e-05/0.4431, allocations: 154.6 kB / 0.6162 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.461e-05/0.4431, allocations: 79.28 kB / 0.6163 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.494e-05/0.4432, allocations: 158.4 kB / 0.6164 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.4432, allocations: 75.28 kB / 0.6165 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.4433, allocations: 87.2 kB / 0.6166 GB, free: 3.953 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 9.567e-05/0.4434, allocations: 255.2 kB / 0.6168 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.4434, allocations: 112.9 kB / 0.6169 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.4435, allocations: 104.1 kB / 0.617 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.4435, allocations: 180.2 kB / 0.6172 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/0.4436, allocations: 176.3 kB / 0.6174 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.839e-05/0.4437, allocations: 188.2 kB / 0.6176 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.4439, allocations: 401 kB / 0.6179 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.713e-05/0.4439, allocations: 101 kB / 0.618 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.445e-05/0.444, allocations: 112.9 kB / 0.6182 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.013e-05/0.444, allocations: 180.2 kB / 0.6183 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/0.4441, allocations: 188.2 kB / 0.6185 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.858e-05/0.4442, allocations: 179.5 kB / 0.6187 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.756e-05/0.4442, allocations: 192.2 kB / 0.6189 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.4444, allocations: 303.6 kB / 0.6191 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.4444, allocations: 182 kB / 0.6193 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.4445, allocations: 180.6 kB / 0.6195 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.4446, allocations: 108.9 kB / 0.6196 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.4447, allocations: 184.2 kB / 0.6198 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.4447, allocations: 105 kB / 0.6199 GB, free: 396 kB / 410.7 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.4448, allocations: 78.41 kB / 0.6199 GB, free: 320 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4448, allocations: 0 / 0.6199 GB, free: 320 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008753/0.4456, allocations: 179 kB / 0.6201 GB, free: 148 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001023/0.4467, allocations: 470.5 kB / 0.6206 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.355e-05/0.4467, allocations: 0 / 0.6206 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4468, allocations: 0 / 0.6206 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4468, allocations: 0 / 0.6206 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.4471, allocations: 0.5355 MB / 0.6211 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.904e-05/0.4472, allocations: 116.3 kB / 0.6212 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4474, allocations: 0.6731 MB / 0.6219 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.608e-06/0.4474, allocations: 0 / 0.6219 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-06/0.4474, allocations: 7.438 kB / 0.6219 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4474, allocations: 0 / 0.6219 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.006045/0.4535, allocations: 3.042 MB / 0.6248 GB, free: 11.29 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches