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.00634/0.00634, allocations: 174.4 kB / 15.12 MB, free: 5.973 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.458/1.458, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001608/0.001608, allocations: 120.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1997/0.1997, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 15.19 kB / 406.1 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.5236, allocations: 83.88 MB / 0.5321 GB, free: 25.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.5238, allocations: 64.66 kB / 0.5322 GB, free: 25.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02849/0.5523, allocations: 9.897 MB / 0.5419 GB, free: 25.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5524, allocations: 0 / 0.5419 GB, free: 25.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.5524, allocations: 0 / 0.5419 GB, free: 25.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007833/0.5532, allocations: 492.6 kB / 0.5423 GB, free: 24.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.5533, allocations: 9.625 kB / 0.5423 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.5533, allocations: 7.953 kB / 0.5423 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.432e-05/0.5534, allocations: 161.2 kB / 0.5425 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.5534, allocations: 1.375 kB / 0.5425 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.5534, allocations: 0 / 0.5425 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/0.5535, allocations: 32.39 kB / 0.5425 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5535, allocations: 2.391 kB / 0.5425 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.5536, allocations: 1.375 kB / 0.5425 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5536, allocations: 0 / 0.5425 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.5536, allocations: 5.328 kB / 0.5425 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.5537, allocations: 150.6 kB / 0.5427 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.629e-05/0.5537, allocations: 17.78 kB / 0.5427 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.5538, allocations: 0 / 0.5427 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.5538, allocations: 62.02 kB / 0.5428 GB, free: 24.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.5538, allocations: 1.375 kB / 0.5428 GB, free: 24.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001925/0.554, allocations: 63.92 kB / 0.5428 GB, free: 24.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.5541, allocations: 80.58 kB / 0.5429 GB, free: 24.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.611e-05/0.5541, allocations: 89 kB / 0.543 GB, free: 24.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.5541, allocations: 25.7 kB / 0.543 GB, free: 23.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.5542, allocations: 80.14 kB / 0.5431 GB, free: 23.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.5542, allocations: 1.375 kB / 0.5431 GB, free: 23.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.5542, allocations: 0 / 0.5431 GB, free: 23.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.5543, allocations: 316.2 kB / 0.5434 GB, free: 23.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-06/0.5543, allocations: 0 / 0.5434 GB, free: 23.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-06/0.5543, allocations: 1.375 kB / 0.5434 GB, free: 23.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.5543, allocations: 40.83 kB / 0.5434 GB, free: 23.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5543, allocations: 1.375 kB / 0.5434 GB, free: 23.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.449e-05/0.5544, allocations: 63.95 kB / 0.5435 GB, free: 23.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5544, allocations: 31.2 kB / 0.5435 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5544, allocations: 3.938 kB / 0.5435 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5544, allocations: 0 / 0.5435 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.5544, allocations: 1.5 kB / 0.5435 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.5545, allocations: 1.375 kB / 0.5435 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.5545, allocations: 0 / 0.5435 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5545, allocations: 1.375 kB / 0.5435 GB, free: 23.45 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: 1 (result) * Number of discrete states: 0 () * Number of clocked 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 6.244e-05/0.5546, allocations: 144.3 kB / 0.5437 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.5546, allocations: 0 / 0.5437 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.314e-05/0.5546, allocations: 12.33 kB / 0.5437 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.5546, allocations: 0 / 0.5437 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5546, allocations: 0 / 0.5437 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.5546, allocations: 0 / 0.5437 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.645e-05/0.5547, allocations: 154.6 kB / 0.5438 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.5547, allocations: 0 / 0.5438 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.5547, allocations: 1.688 kB / 0.5438 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.5547, allocations: 4 kB / 0.5438 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5547, allocations: 1.375 kB / 0.5438 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5547, allocations: 3.938 kB / 0.5438 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5547, allocations: 1.375 kB / 0.5438 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.5548, allocations: 91.92 kB / 0.5439 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.5548, allocations: 78.89 kB / 0.544 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.5549, allocations: 1.375 kB / 0.544 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.5549, allocations: 4.031 kB / 0.544 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.5549, allocations: 1.375 kB / 0.544 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.5549, allocations: 2.484 kB / 0.544 GB, free: 22.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.374e-05/0.5549, allocations: 76.66 kB / 0.5441 GB, free: 22.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5549, allocations: 0 / 0.5441 GB, free: 22.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006535/0.5556, allocations: 176.7 kB / 0.5442 GB, free: 22.77 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * 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.0008879/0.5565, allocations: 400.3 kB / 0.5446 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.5566, allocations: 62.14 kB / 0.5447 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5566, allocations: 7.938 kB / 0.5447 GB, free: 22.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.5566, allocations: 62.12 kB / 0.5448 GB, free: 22.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.883e-05/0.5567, allocations: 8 kB / 0.5448 GB, free: 22.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.5569, allocations: 79.25 kB / 0.5448 GB, free: 22.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.557, allocations: 0.673 MB / 0.5455 GB, free: 21.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.142e-06/0.5571, allocations: 0 / 0.5455 GB, free: 21.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.5571, allocations: 9.375 kB / 0.5455 GB, free: 21.67 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.5571, allocations: 0 / 0.5455 GB, free: 21.67 MB / 378.7 MB Notification: Performance of Templates: time 0.008111/0.5652, allocations: 4.017 MB / 0.5494 GB, free: 21.24 MB / 378.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)