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.001094/0.001094, allocations: 177 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.627/1.627, allocations: 194.3 MB / 202.4 MB, free: 13.03 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.001697/0.001697, allocations: 104.7 kB / 247.4 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1884/0.1884, allocations: 39.94 MB / 332.2 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.098e-05, allocations: 11.98 kB / 393.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2785, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.3997, allocations: 82.7 MB / 0.5184 GB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.4, allocations: 63.97 kB / 0.5185 GB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2976/0.6976, allocations: 12.87 MB / 0.5311 GB, free: 86.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6976, allocations: 3.906 kB / 0.5311 GB, free: 86.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.6976, allocations: 0 / 0.5311 GB, free: 86.56 MB / 378.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.0005907/0.6982, allocations: 449.1 kB / 0.5315 GB, free: 86.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6983, allocations: 9.844 kB / 0.5315 GB, free: 86.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.6984, allocations: 80.61 kB / 0.5316 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.042e-05/0.6984, allocations: 236.6 kB / 0.5318 GB, free: 85.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.6985, allocations: 150.6 kB / 0.532 GB, free: 85.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.6985, allocations: 156.2 kB / 0.5321 GB, free: 85.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.325e-05/0.6985, allocations: 153.5 kB / 0.5323 GB, free: 85.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.039e-05/0.6986, allocations: 105.7 kB / 0.5324 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6986, allocations: 75.28 kB / 0.5324 GB, free: 85.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.6987, allocations: 151.8 kB / 0.5326 GB, free: 85.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.6987, allocations: 158.2 kB / 0.5327 GB, free: 84.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.6989, allocations: 423.1 kB / 0.5331 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/0.6989, allocations: 172.2 kB / 0.5333 GB, free: 84.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.6989, allocations: 85.05 kB / 0.5334 GB, free: 84.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.699, allocations: 75.28 kB / 0.5334 GB, free: 84.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.699, allocations: 139.7 kB / 0.5336 GB, free: 83.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.699, allocations: 0 / 0.5336 GB, free: 83.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.47e-05/0.6991, allocations: 30.06 kB / 0.5336 GB, free: 83.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.6992, allocations: 78.72 kB / 0.5337 GB, free: 83.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.639e-05/0.6992, allocations: 86.19 kB / 0.5338 GB, free: 83.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.6992, allocations: 25.7 kB / 0.5338 GB, free: 83.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.6992, allocations: 85.72 kB / 0.5339 GB, free: 83.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.6992, allocations: 0 / 0.5339 GB, free: 83.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.6992, allocations: 1.188 kB / 0.5339 GB, free: 83.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.6993, allocations: 319.3 kB / 0.5342 GB, free: 83.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-06/0.6993, allocations: 0 / 0.5342 GB, free: 83.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.6993, allocations: 5.688 kB / 0.5342 GB, free: 83.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.6994, allocations: 75.89 kB / 0.5343 GB, free: 83.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.6994, allocations: 76.44 kB / 0.5343 GB, free: 83.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.372e-05/0.6995, allocations: 28.44 kB / 0.5344 GB, free: 83.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6995, allocations: 81.09 kB / 0.5344 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.6995, allocations: 85.69 kB / 0.5345 GB, free: 82.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.6996, allocations: 154.4 kB / 0.5347 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.2e-05/0.6996, allocations: 76.28 kB / 0.5347 GB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.6996, allocations: 154.3 kB / 0.5349 GB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.6997, allocations: 76.97 kB / 0.535 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6997, allocations: 84.25 kB / 0.535 GB, free: 82.46 MB / 378.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 7.73e-05/0.6998, allocations: 262.1 kB / 0.5353 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.6998, allocations: 104.4 kB / 0.5354 GB, free: 82.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.6999, allocations: 111.4 kB / 0.5355 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/0.6999, allocations: 178.2 kB / 0.5357 GB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.819e-05/0.7, allocations: 182.1 kB / 0.5358 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.7, allocations: 184 kB / 0.536 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.7001, allocations: 377.2 kB / 0.5364 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.7002, allocations: 110.6 kB / 0.5365 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.7002, allocations: 102.7 kB / 0.5366 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.29e-05/0.7002, allocations: 178.3 kB / 0.5367 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.7003, allocations: 193.4 kB / 0.5369 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.18e-05/0.7003, allocations: 178.3 kB / 0.5371 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.188e-05/0.7004, allocations: 177 kB / 0.5373 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.046e-05/0.7004, allocations: 309.3 kB / 0.5376 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.7005, allocations: 186.6 kB / 0.5377 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.7005, allocations: 183.8 kB / 0.5379 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.7006, allocations: 107.5 kB / 0.538 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.7006, allocations: 177.1 kB / 0.5382 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.7007, allocations: 107.1 kB / 0.5383 GB, free: 79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.822e-05/0.7007, allocations: 75.73 kB / 0.5384 GB, free: 78.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7007, allocations: 3.5 kB / 0.5384 GB, free: 78.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009445/0.7016, allocations: 170.6 kB / 0.5385 GB, free: 78.89 MB / 378.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.001149/0.7028, allocations: 447.5 kB / 0.539 GB, free: 78.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.243e-05/0.7029, allocations: 5.297 kB / 0.539 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7029, allocations: 0 / 0.539 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.7029, allocations: 0 / 0.539 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.7031, allocations: 0.5261 MB / 0.5395 GB, free: 78.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001434/0.7033, allocations: 127.2 kB / 0.5396 GB, free: 78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.7034, allocations: 0.6719 MB / 0.5402 GB, free: 77.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.7034, allocations: 3.938 kB / 0.5403 GB, free: 77.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.7034, allocations: 10.39 kB / 0.5403 GB, free: 77.29 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7034, allocations: 0 / 0.5403 GB, free: 77.29 MB / 378.7 MB Notification: Performance of Templates: time 0.008597/0.7121, allocations: 2.912 MB / 0.5431 GB, free: 77.01 MB / 378.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)