Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001333/0.001333, allocations: 182.4 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.622/1.622, allocations: 194.3 MB / 207.5 MB, free: 3.469 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.001903/0.001903, allocations: 116.5 kB / 252.6 MB, free: 4.848 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.2041/0.2041, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.996e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4435, allocations: 83.8 MB / 0.5263 GB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00015/0.4437, allocations: 65.84 kB / 0.5264 GB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02444/0.4681, allocations: 9.859 MB / 0.536 GB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4682, allocations: 0 / 0.536 GB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4682, allocations: 0 / 0.536 GB, free: 15.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006114/0.4688, allocations: 475.3 kB / 0.5364 GB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4688, allocations: 12.03 kB / 0.5365 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.4689, allocations: 3.953 kB / 0.5365 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.657e-05/0.469, allocations: 159.1 kB / 0.5366 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.469, allocations: 11.97 kB / 0.5366 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.469, allocations: 0 / 0.5366 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.847e-05/0.4691, allocations: 29.64 kB / 0.5367 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.4691, allocations: 0 / 0.5367 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4691, allocations: 4 kB / 0.5367 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4691, allocations: 0 / 0.5367 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.4691, allocations: 11.89 kB / 0.5367 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.4693, allocations: 141.7 kB / 0.5368 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.224e-05/0.4693, allocations: 19.05 kB / 0.5368 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.4693, allocations: 8.844 kB / 0.5368 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.4694, allocations: 0 / 0.5368 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.4694, allocations: 64.14 kB / 0.5369 GB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.4694, allocations: 0 / 0.5369 GB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.4696, allocations: 63.34 kB / 0.537 GB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4697, allocations: 81.05 kB / 0.537 GB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.4697, allocations: 89 kB / 0.5371 GB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.4697, allocations: 29.64 kB / 0.5371 GB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.4698, allocations: 80.14 kB / 0.5372 GB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.4698, allocations: 0 / 0.5372 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.4698, allocations: 0 / 0.5372 GB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4699, allocations: 322.2 kB / 0.5375 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/0.4699, allocations: 4.031 kB / 0.5375 GB, free: 13.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-06/0.47, allocations: 4 kB / 0.5375 GB, free: 13.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.47, allocations: 25.7 kB / 0.5376 GB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.47, allocations: 0 / 0.5376 GB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.635e-05/0.4701, allocations: 63.34 kB / 0.5376 GB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.4701, allocations: 33.69 kB / 0.5377 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4701, allocations: 0 / 0.5377 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4701, allocations: 4 kB / 0.5377 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.4702, allocations: 0 / 0.5377 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4702, allocations: 4.094 kB / 0.5377 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.4702, allocations: 0 / 0.5377 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.4702, allocations: 0 / 0.5377 GB, free: 13.29 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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.457e-05/0.4703, allocations: 134.6 kB / 0.5378 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.4703, allocations: 3.5 kB / 0.5378 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.4703, allocations: 7.078 kB / 0.5378 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.4703, allocations: 0 / 0.5378 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4703, allocations: 0 / 0.5378 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4703, allocations: 0 / 0.5378 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.4705, allocations: 157.6 kB / 0.5379 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4705, allocations: 4 kB / 0.538 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.4705, allocations: 0 / 0.538 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4705, allocations: 0 / 0.538 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4705, allocations: 0 / 0.538 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.4705, allocations: 0 / 0.538 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4705, allocations: 0 / 0.538 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.4706, allocations: 106.6 kB / 0.5381 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.4707, allocations: 81.14 kB / 0.5381 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.4707, allocations: 4 kB / 0.5381 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-06/0.4707, allocations: 0 / 0.5381 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.4707, allocations: 0 / 0.5381 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.4707, allocations: 0 / 0.5381 GB, free: 12.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.4708, allocations: 79.22 kB / 0.5382 GB, free: 12.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4708, allocations: 0 / 0.5382 GB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.4714, allocations: 182.4 kB / 0.5384 GB, free: 12.46 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007782/0.4721, allocations: 406.5 kB / 0.5388 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.4722, allocations: 55.41 kB / 0.5388 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4723, allocations: 0 / 0.5388 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.4723, allocations: 59.47 kB / 0.5389 GB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.805e-05/0.4724, allocations: 3.953 kB / 0.5389 GB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.4726, allocations: 52.73 kB / 0.5389 GB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.4729, allocations: 0.6731 MB / 0.5396 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.691e-06/0.4729, allocations: 0 / 0.5396 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.4729, allocations: 11.44 kB / 0.5396 GB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4729, allocations: 0 / 0.5396 GB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.007745/0.4807, allocations: 3.928 MB / 0.5434 GB, free: 7.23 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1)