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.001254/0.001254, allocations: 200 kB / 18.11 MB, free: 3.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008365/0.0008366, allocations: 103.7 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3893/0.3893, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4222, allocations: 62.96 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5592, allocations: 90.31 MB / 0.6066 GB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5595, allocations: 71.95 kB / 0.6067 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03937/0.5989, allocations: 13.11 MB / 0.6195 GB, free: 1.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.599, allocations: 0 / 0.6195 GB, free: 1.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.599, allocations: 4 kB / 0.6195 GB, free: 1.781 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.0007695/0.5998, allocations: 456.9 kB / 0.6199 GB, free: 1.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5998, allocations: 12.03 kB / 0.6199 GB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.5999, allocations: 80.2 kB / 0.62 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.6, allocations: 243.7 kB / 0.6202 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.6001, allocations: 150.9 kB / 0.6204 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.6002, allocations: 150.9 kB / 0.6205 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.903e-05/0.6003, allocations: 105.5 kB / 0.6206 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.6003, allocations: 75.47 kB / 0.6207 GB, free: 440 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.6004, allocations: 162.5 kB / 0.6209 GB, free: 276 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.6004, allocations: 150.6 kB / 0.621 GB, free: 124 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.6005, allocations: 150.6 kB / 0.6211 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.6008, allocations: 445.9 kB / 0.6216 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.6009, allocations: 177 kB / 0.6217 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.601, allocations: 84.14 kB / 0.6218 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.601, allocations: 75.28 kB / 0.6219 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.255e-05/0.6011, allocations: 131.5 kB / 0.622 GB, free: 15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.6011, allocations: 0 / 0.622 GB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 8.463e-05/0.6012, allocations: 33.64 kB / 0.622 GB, free: 14.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.6013, allocations: 156.4 kB / 0.6222 GB, free: 14.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.426e-05/0.6013, allocations: 97.8 kB / 0.6223 GB, free: 14.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.6014, allocations: 25.7 kB / 0.6223 GB, free: 14.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.6014, allocations: 84.12 kB / 0.6224 GB, free: 14.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.6014, allocations: 0 / 0.6224 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.6014, allocations: 0 / 0.6224 GB, free: 14.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6016, allocations: 314.8 kB / 0.6227 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.6016, allocations: 0 / 0.6227 GB, free: 14.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.6016, allocations: 3.984 kB / 0.6227 GB, free: 14.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.6016, allocations: 79.31 kB / 0.6228 GB, free: 14.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.485e-05/0.6017, allocations: 75.28 kB / 0.6228 GB, free: 14.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.547e-05/0.6018, allocations: 29.7 kB / 0.6229 GB, free: 14.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.6018, allocations: 79.28 kB / 0.6229 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.6019, allocations: 79.22 kB / 0.623 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.57e-05/0.602, allocations: 162.5 kB / 0.6232 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.745e-05/0.602, allocations: 79.28 kB / 0.6233 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.696e-05/0.6021, allocations: 158.5 kB / 0.6234 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.6022, allocations: 87.2 kB / 0.6235 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.6022, allocations: 83.22 kB / 0.6236 GB, free: 13.34 MB / 442.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.0001526/0.6024, allocations: 256.4 kB / 0.6238 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.6025, allocations: 109 kB / 0.6239 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.6025, allocations: 112 kB / 0.624 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.859e-05/0.6026, allocations: 184.2 kB / 0.6242 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.617e-05/0.6027, allocations: 180.3 kB / 0.6244 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.54e-05/0.6028, allocations: 180.2 kB / 0.6245 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.6031, allocations: 397.2 kB / 0.6249 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-05/0.6032, allocations: 114.3 kB / 0.625 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.6032, allocations: 105 kB / 0.6251 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-05/0.6033, allocations: 176.3 kB / 0.6253 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.603e-05/0.6034, allocations: 184.1 kB / 0.6255 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001111/0.6035, allocations: 184.2 kB / 0.6256 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.437e-05/0.6036, allocations: 180.2 kB / 0.6258 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.6038, allocations: 311.8 kB / 0.6261 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.6039, allocations: 186 kB / 0.6263 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.604, allocations: 184.2 kB / 0.6265 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.6041, allocations: 113.3 kB / 0.6266 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.6041, allocations: 176.3 kB / 0.6267 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.6042, allocations: 105 kB / 0.6268 GB, free: 9.754 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.6042, allocations: 75.33 kB / 0.6269 GB, free: 9.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6042, allocations: 7.938 kB / 0.6269 GB, free: 9.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008622/0.6051, allocations: 171.7 kB / 0.6271 GB, free: 9.504 MB / 442.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.00123/0.6063, allocations: 472.3 kB / 0.6275 GB, free: 9.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.592e-05/0.6064, allocations: 0 / 0.6275 GB, free: 9.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6064, allocations: 0 / 0.6275 GB, free: 9.051 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.6064, allocations: 0 / 0.6275 GB, free: 9.051 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.6068, allocations: 0.5263 MB / 0.6281 GB, free: 8.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001503/0.6069, allocations: 146 kB / 0.6282 GB, free: 8.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.6072, allocations: 0.6692 MB / 0.6288 GB, free: 7.652 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.878e-06/0.6072, allocations: 0 / 0.6288 GB, free: 7.652 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.6072, allocations: 15.38 kB / 0.6289 GB, free: 7.641 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6073, allocations: 0 / 0.6289 GB, free: 7.641 MB / 442.7 MB Notification: Performance of Templates: time 0.007891/0.6152, allocations: 2.995 MB / 0.6318 GB, free: 4.648 MB / 442.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/jenkins1/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