Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001099/0.001099, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.724/1.724, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001746/0.001746, allocations: 118.9 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2332/0.2332, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.371e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5576, allocations: 83.36 MB / 0.5259 GB, free: 7.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.5579, allocations: 65.72 kB / 0.5259 GB, free: 7.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0343/0.5922, allocations: 12.93 MB / 0.5386 GB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5922, allocations: 0 / 0.5386 GB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.5923, allocations: 0 / 0.5386 GB, free: 13.22 MB / 362.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.0006883/0.593, allocations: 447.4 kB / 0.539 GB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.593, allocations: 12.03 kB / 0.539 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.5931, allocations: 83.17 kB / 0.5391 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.5932, allocations: 234.4 kB / 0.5393 GB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.5933, allocations: 154.2 kB / 0.5394 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.5933, allocations: 158.5 kB / 0.5396 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.658e-05/0.5934, allocations: 105 kB / 0.5397 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.5935, allocations: 79.22 kB / 0.5398 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.5935, allocations: 150.6 kB / 0.5399 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/0.5936, allocations: 150.6 kB / 0.5401 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.111e-05/0.5937, allocations: 158.5 kB / 0.5402 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.594, allocations: 445.7 kB / 0.5406 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.5941, allocations: 165.1 kB / 0.5408 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.5941, allocations: 84.08 kB / 0.5409 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.5942, allocations: 79.28 kB / 0.5409 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.5942, allocations: 134.7 kB / 0.5411 GB, free: 10.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5942, allocations: 0 / 0.5411 GB, free: 10.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.972e-05/0.5943, allocations: 33.69 kB / 0.5411 GB, free: 10.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.5944, allocations: 152.4 kB / 0.5413 GB, free: 10.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.341e-05/0.5945, allocations: 85 kB / 0.5413 GB, free: 10.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.5945, allocations: 25.7 kB / 0.5414 GB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.5945, allocations: 88.14 kB / 0.5414 GB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.5946, allocations: 7.938 kB / 0.5414 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.5946, allocations: 0 / 0.5414 GB, free: 10.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5947, allocations: 314.8 kB / 0.5418 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-06/0.5947, allocations: 3.938 kB / 0.5418 GB, free: 9.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.5947, allocations: 0 / 0.5418 GB, free: 9.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.5948, allocations: 75.28 kB / 0.5418 GB, free: 9.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-05/0.5948, allocations: 79.28 kB / 0.5419 GB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.861e-05/0.5949, allocations: 29.58 kB / 0.5419 GB, free: 9.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.5949, allocations: 91.3 kB / 0.542 GB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.595, allocations: 79.22 kB / 0.5421 GB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.322e-05/0.595, allocations: 150.6 kB / 0.5422 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.5951, allocations: 75.28 kB / 0.5423 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.956e-05/0.5951, allocations: 154.5 kB / 0.5425 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.5952, allocations: 79.28 kB / 0.5425 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.5952, allocations: 87.22 kB / 0.5426 GB, free: 8.832 MB / 362.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 0.0001159/0.5954, allocations: 263.1 kB / 0.5429 GB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.5954, allocations: 105 kB / 0.543 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.5955, allocations: 104.1 kB / 0.5431 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.046e-05/0.5956, allocations: 184.2 kB / 0.5432 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.328e-05/0.5957, allocations: 180.3 kB / 0.5434 GB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-05/0.5957, allocations: 183.6 kB / 0.5436 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.596, allocations: 405.2 kB / 0.544 GB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.517e-05/0.596, allocations: 106.1 kB / 0.5441 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.5961, allocations: 104.9 kB / 0.5442 GB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.86e-05/0.5962, allocations: 184.2 kB / 0.5444 GB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.5962, allocations: 196 kB / 0.5445 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.962e-05/0.5963, allocations: 176.3 kB / 0.5447 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.461e-05/0.5964, allocations: 176.3 kB / 0.5449 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.5966, allocations: 307 kB / 0.5452 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.5966, allocations: 190 kB / 0.5453 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.5967, allocations: 180.7 kB / 0.5455 GB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.5968, allocations: 101 kB / 0.5456 GB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.5969, allocations: 180.2 kB / 0.5458 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.5969, allocations: 108.9 kB / 0.5459 GB, free: 5.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.832e-05/0.597, allocations: 79.3 kB / 0.546 GB, free: 5.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.803e-06/0.597, allocations: 4 kB / 0.546 GB, free: 5.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007902/0.5978, allocations: 167 kB / 0.5461 GB, free: 5.023 MB / 362.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.0008744/0.5987, allocations: 449.6 kB / 0.5466 GB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.509e-05/0.5987, allocations: 4 kB / 0.5466 GB, free: 4.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5987, allocations: 4 kB / 0.5466 GB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.5987, allocations: 0 / 0.5466 GB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.599, allocations: 0.524 MB / 0.5471 GB, free: 4.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001286/0.5992, allocations: 128.3 kB / 0.5472 GB, free: 3.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.5994, allocations: 0.6731 MB / 0.5479 GB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.07e-06/0.5994, allocations: 4 kB / 0.5479 GB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.5995, allocations: 11.44 kB / 0.5479 GB, free: 3.195 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5995, allocations: 0 / 0.5479 GB, free: 3.195 MB / 362.7 MB Notification: Performance of Templates: time 0.006327/0.6058, allocations: 2.946 MB / 0.5507 GB, free: 280 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe 2>&1)