Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.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.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001565/0.001565, allocations: 187.3 kB / 7.654 MB, free: 1.402 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.435/1.435, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001623/0.001623, allocations: 113 kB / 247.4 MB, free: 6.195 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.1771/0.1771, allocations: 39.93 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.62e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09377, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/0.4519, allocations: 83.13 MB / 0.5189 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.4522, allocations: 69.36 kB / 0.5189 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02365/0.4758, allocations: 9.711 MB / 0.5284 GB, free: 7.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4759, allocations: 3.938 kB / 0.5284 GB, free: 7.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.4759, allocations: 0 / 0.5284 GB, free: 7.246 MB / 346.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.0005332/0.4764, allocations: 476.5 kB / 0.5289 GB, free: 6.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4765, allocations: 11.53 kB / 0.5289 GB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.4765, allocations: 7.953 kB / 0.5289 GB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.544e-05/0.4766, allocations: 159.1 kB / 0.529 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.4766, allocations: 0 / 0.529 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4766, allocations: 0 / 0.529 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.691e-05/0.4766, allocations: 7.828 kB / 0.529 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.624e-05/0.4767, allocations: 25.7 kB / 0.5291 GB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4767, allocations: 3.938 kB / 0.5291 GB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.4767, allocations: 0 / 0.5291 GB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4767, allocations: 3.953 kB / 0.5291 GB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.263e-05/0.4768, allocations: 130.1 kB / 0.5292 GB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.4769, allocations: 14.58 kB / 0.5292 GB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.301e-05/0.4769, allocations: 8.734 kB / 0.5292 GB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4769, allocations: 0 / 0.5292 GB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.477, allocations: 64.5 kB / 0.5293 GB, free: 6.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.477, allocations: 0 / 0.5293 GB, free: 6.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.4771, allocations: 29.67 kB / 0.5293 GB, free: 6.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.4772, allocations: 85.08 kB / 0.5294 GB, free: 6.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.857e-05/0.4772, allocations: 88.91 kB / 0.5295 GB, free: 6.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.4772, allocations: 25.7 kB / 0.5295 GB, free: 6.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.271e-05/0.4772, allocations: 80.14 kB / 0.5296 GB, free: 5.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.4772, allocations: 3.828 kB / 0.5296 GB, free: 5.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.4772, allocations: 0 / 0.5296 GB, free: 5.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.4773, allocations: 318.7 kB / 0.5299 GB, free: 5.613 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.4773, allocations: 0 / 0.5299 GB, free: 5.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.4773, allocations: 7.812 kB / 0.5299 GB, free: 5.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.4774, allocations: 3.984 kB / 0.5299 GB, free: 5.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4774, allocations: 0 / 0.5299 GB, free: 5.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.876e-05/0.4774, allocations: 33.55 kB / 0.5299 GB, free: 5.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4775, allocations: 33.52 kB / 0.53 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4775, allocations: 0 / 0.53 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4775, allocations: 0 / 0.53 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.4775, allocations: 0 / 0.53 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4775, allocations: 0 / 0.53 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.4775, allocations: 7.875 kB / 0.53 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4775, allocations: 4.094 kB / 0.53 GB, free: 5.531 MB / 346.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 4.796e-05/0.4776, allocations: 134.6 kB / 0.5301 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.4776, allocations: 3.875 kB / 0.5301 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.4776, allocations: 11.64 kB / 0.5301 GB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4776, allocations: 0 / 0.5301 GB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4776, allocations: 0 / 0.5301 GB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.4777, allocations: 0 / 0.5301 GB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.452e-05/0.4777, allocations: 126.2 kB / 0.5302 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4777, allocations: 11.94 kB / 0.5302 GB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.4777, allocations: 7.906 kB / 0.5303 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.4777, allocations: 0 / 0.5303 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4777, allocations: 0 / 0.5303 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4777, allocations: 0 / 0.5303 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4777, allocations: 0 / 0.5303 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.733e-05/0.4778, allocations: 56.95 kB / 0.5303 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.4779, allocations: 88.67 kB / 0.5304 GB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4779, allocations: 3.984 kB / 0.5304 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.4779, allocations: 4.031 kB / 0.5304 GB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.4779, allocations: 0 / 0.5304 GB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4779, allocations: 3.812 kB / 0.5304 GB, free: 5.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.379e-05/0.4779, allocations: 79.28 kB / 0.5305 GB, free: 4.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4779, allocations: 0 / 0.5305 GB, free: 4.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005728/0.4785, allocations: 173.7 kB / 0.5306 GB, free: 4.898 MB / 346.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.0007654/0.4793, allocations: 394 kB / 0.531 GB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.947e-05/0.4794, allocations: 62.03 kB / 0.5311 GB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4794, allocations: 0 / 0.5311 GB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.4794, allocations: 55.41 kB / 0.5311 GB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.284e-05/0.4795, allocations: 9.75 kB / 0.5311 GB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001262/0.4796, allocations: 44.02 kB / 0.5312 GB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.4797, allocations: 0.6729 MB / 0.5318 GB, free: 3.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.412e-06/0.4798, allocations: 3.984 kB / 0.5318 GB, free: 3.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.008e-05/0.4798, allocations: 7.438 kB / 0.5319 GB, free: 3.641 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4798, allocations: 0 / 0.5319 GB, free: 3.641 MB / 346.7 MB Notification: Performance of Templates: time 0.006836/0.4866, allocations: 4.177 MB / 0.5359 GB, free: 15.5 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1)