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.001456/0.001456, 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.571/1.571, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001715/0.001715, allocations: 113.6 kB / 247.4 MB, free: 6.184 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.2118/0.2118, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.243e-05/1.246e-05, allocations: 0 / 393.3 MB, free: 75.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09056, allocations: 54.87 MB / 448.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.448, allocations: 83.13 MB / 0.5189 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.4482, allocations: 65.14 kB / 0.5189 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02453/0.4727, allocations: 9.708 MB / 0.5284 GB, free: 7.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4728, allocations: 0 / 0.5284 GB, free: 7.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4728, allocations: 4 kB / 0.5284 GB, free: 7.266 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.0005636/0.4734, allocations: 485 kB / 0.5289 GB, free: 6.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4734, allocations: 7.688 kB / 0.5289 GB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.4735, allocations: 3.953 kB / 0.5289 GB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.791e-05/0.4736, allocations: 163.1 kB / 0.529 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4736, allocations: 0 / 0.529 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.4736, allocations: 3.844 kB / 0.529 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.422e-05/0.4736, allocations: 0 / 0.529 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.776e-05/0.4737, allocations: 25.7 kB / 0.5291 GB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4737, allocations: 11.8 kB / 0.5291 GB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.4737, allocations: 0 / 0.5291 GB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4737, allocations: 7.891 kB / 0.5291 GB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.598e-05/0.4738, allocations: 125.8 kB / 0.5292 GB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.127e-05/0.4739, allocations: 14.58 kB / 0.5292 GB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.4739, allocations: 8.641 kB / 0.5292 GB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-06/0.4739, allocations: 0 / 0.5292 GB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4739, allocations: 64.69 kB / 0.5293 GB, free: 6.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4739, allocations: 0 / 0.5293 GB, free: 6.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001692/0.4741, allocations: 33.48 kB / 0.5293 GB, free: 6.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.4742, allocations: 80.48 kB / 0.5294 GB, free: 6.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.869e-05/0.4742, allocations: 85 kB / 0.5295 GB, free: 6.062 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.4742, allocations: 29.64 kB / 0.5295 GB, free: 6.027 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.107e-05/0.4742, allocations: 80.14 kB / 0.5296 GB, free: 5.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.4742, allocations: 0 / 0.5296 GB, free: 5.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-06/0.4742, allocations: 0 / 0.5296 GB, free: 5.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.4743, allocations: 322.7 kB / 0.5299 GB, free: 5.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.4743, allocations: 3.984 kB / 0.5299 GB, free: 5.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.4743, allocations: 0 / 0.5299 GB, free: 5.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.4744, allocations: 0 / 0.5299 GB, free: 5.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4744, allocations: 0 / 0.5299 GB, free: 5.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.115e-05/0.4744, allocations: 36.89 kB / 0.5299 GB, free: 5.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.4745, allocations: 29.55 kB / 0.5299 GB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4745, allocations: 3.844 kB / 0.53 GB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4745, allocations: 4.094 kB / 0.53 GB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.4745, allocations: 0 / 0.53 GB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4745, allocations: 0 / 0.53 GB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.261e-05/0.4745, allocations: 7.922 kB / 0.53 GB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.4745, allocations: 0 / 0.53 GB, free: 5.547 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.834e-05/0.4746, allocations: 134.6 kB / 0.5301 GB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.4746, allocations: 0 / 0.5301 GB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.4746, allocations: 11.64 kB / 0.5301 GB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4746, allocations: 0 / 0.5301 GB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4746, allocations: 7.938 kB / 0.5301 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4746, allocations: 0 / 0.5301 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.641e-05/0.4747, allocations: 134 kB / 0.5302 GB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4747, allocations: 3.953 kB / 0.5302 GB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/0.4747, allocations: 4 kB / 0.5302 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4747, allocations: 0 / 0.5302 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.4747, allocations: 0 / 0.5302 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4747, allocations: 0 / 0.5302 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4747, allocations: 3.781 kB / 0.5303 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.588e-05/0.4748, allocations: 64.16 kB / 0.5303 GB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.4748, allocations: 81.06 kB / 0.5304 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.4749, allocations: 3.844 kB / 0.5304 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.4749, allocations: 0 / 0.5304 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.4749, allocations: 0 / 0.5304 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4749, allocations: 0 / 0.5304 GB, free: 5.055 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.564e-05/0.4749, allocations: 79.28 kB / 0.5305 GB, free: 4.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4749, allocations: 0 / 0.5305 GB, free: 4.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005458/0.4755, allocations: 180.6 kB / 0.5306 GB, free: 4.918 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.0007357/0.4762, allocations: 392.9 kB / 0.531 GB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.095e-05/0.4763, allocations: 66.78 kB / 0.5311 GB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4763, allocations: 0 / 0.5311 GB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.4763, allocations: 59.39 kB / 0.5311 GB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.989e-05/0.4764, allocations: 3.938 kB / 0.5311 GB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001444/0.4766, allocations: 44.02 kB / 0.5312 GB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4767, allocations: 0.6768 MB / 0.5318 GB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.051e-06/0.4767, allocations: 0 / 0.5318 GB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.4768, allocations: 7.438 kB / 0.5318 GB, free: 3.648 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4768, allocations: 0 / 0.5318 GB, free: 3.648 MB / 346.7 MB Notification: Performance of Templates: time 0.006585/0.4834, allocations: 4.178 MB / 0.5359 GB, free: 15.5 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)