Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 179.2 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.0008661, allocations: 97.03 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3698/0.3698, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.386, allocations: 61.88 MB / 0.5107 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.5008, allocations: 89.4 MB / 0.598 GB, free: 5.664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.5011, allocations: 67.95 kB / 0.5981 GB, free: 5.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03685/0.538, allocations: 13.04 MB / 0.6108 GB, free: 8.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.538, allocations: 0 / 0.6108 GB, free: 8.539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.538, allocations: 0 / 0.6108 GB, free: 8.539 MB / 426.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.000789/0.5388, allocations: 453 kB / 0.6113 GB, free: 8.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5389, allocations: 8.031 kB / 0.6113 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.539, allocations: 80.22 kB / 0.6113 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.5391, allocations: 235.7 kB / 0.6116 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.5392, allocations: 162.9 kB / 0.6117 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.5393, allocations: 150.9 kB / 0.6119 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/0.5394, allocations: 101.5 kB / 0.612 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.5394, allocations: 79.41 kB / 0.612 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.5395, allocations: 162.5 kB / 0.6122 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.316e-05/0.5396, allocations: 154.6 kB / 0.6123 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.5397, allocations: 150.6 kB / 0.6125 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.54, allocations: 445.9 kB / 0.6129 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.5401, allocations: 165.1 kB / 0.6131 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.5402, allocations: 92.08 kB / 0.6132 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.5402, allocations: 75.28 kB / 0.6132 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.5403, allocations: 131.5 kB / 0.6134 GB, free: 5.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.5403, allocations: 0 / 0.6134 GB, free: 5.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.866e-05/0.5404, allocations: 29.64 kB / 0.6134 GB, free: 5.727 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.5405, allocations: 160.4 kB / 0.6135 GB, free: 5.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.5406, allocations: 89.86 kB / 0.6136 GB, free: 5.453 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5406, allocations: 29.7 kB / 0.6137 GB, free: 5.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.5406, allocations: 80.14 kB / 0.6137 GB, free: 5.336 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.5406, allocations: 0 / 0.6137 GB, free: 5.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.5407, allocations: 0 / 0.6137 GB, free: 5.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5408, allocations: 314.8 kB / 0.614 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/0.5408, allocations: 3.938 kB / 0.614 GB, free: 5.016 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.5408, allocations: 4 kB / 0.614 GB, free: 5.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.5409, allocations: 79.22 kB / 0.6141 GB, free: 4.934 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-05/0.5409, allocations: 79.31 kB / 0.6142 GB, free: 4.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.541e-05/0.541, allocations: 29.7 kB / 0.6142 GB, free: 4.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.541, allocations: 79.28 kB / 0.6143 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.5411, allocations: 79.27 kB / 0.6144 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.488e-05/0.5412, allocations: 162.4 kB / 0.6145 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-05/0.5412, allocations: 83.33 kB / 0.6146 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.226e-05/0.5413, allocations: 158.5 kB / 0.6148 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.5413, allocations: 79.28 kB / 0.6148 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.5414, allocations: 79.28 kB / 0.6149 GB, free: 4.109 MB / 426.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 () * Number of clocked 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 0.0001047/0.5415, allocations: 260.3 kB / 0.6152 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.5415, allocations: 105 kB / 0.6153 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.5416, allocations: 112 kB / 0.6154 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/0.5417, allocations: 188.2 kB / 0.6155 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/0.5417, allocations: 184.3 kB / 0.6157 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-05/0.5418, allocations: 180.2 kB / 0.6159 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.542, allocations: 393.2 kB / 0.6163 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/0.542, allocations: 109 kB / 0.6164 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.5421, allocations: 108.9 kB / 0.6165 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.447e-05/0.5421, allocations: 184.2 kB / 0.6166 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.5422, allocations: 184.1 kB / 0.6168 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.978e-05/0.5423, allocations: 176.3 kB / 0.617 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.303e-05/0.5423, allocations: 184.2 kB / 0.6172 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.5425, allocations: 311.8 kB / 0.6175 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.5426, allocations: 182 kB / 0.6176 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.5427, allocations: 184.2 kB / 0.6178 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.5427, allocations: 105.4 kB / 0.6179 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.5428, allocations: 184.2 kB / 0.6181 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.5429, allocations: 101 kB / 0.6182 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.5429, allocations: 79.33 kB / 0.6183 GB, free: 460 kB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5429, allocations: 0 / 0.6183 GB, free: 460 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008077/0.5437, allocations: 163.7 kB / 0.6184 GB, free: 296 kB / 426.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 () * Number of clocked 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.0008533/0.5446, allocations: 470.4 kB / 0.6189 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.325e-05/0.5446, allocations: 3.938 kB / 0.6189 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5447, allocations: 0 / 0.6189 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.5447, allocations: 0 / 0.6189 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.545, allocations: 0.5185 MB / 0.6194 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001368/0.5451, allocations: 161.9 kB / 0.6195 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.5454, allocations: 0.6692 MB / 0.6202 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.544e-06/0.5454, allocations: 0 / 0.6202 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.5454, allocations: 15.38 kB / 0.6202 GB, free: 14.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5454, allocations: 0 / 0.6202 GB, free: 14.41 MB / 442.7 MB Notification: Performance of Templates: time 0.006457/0.5519, allocations: 2.908 MB / 0.623 GB, free: 11.51 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches