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.009907/0.009907, allocations: 174.5 kB / 15.12 MB, free: 5.969 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.453/1.453, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001705/0.001704, allocations: 128.6 kB / 255.6 MB, free: 10.23 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.1813/0.1813, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003556, allocations: 13.36 kB / 406.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 54.87 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.5172, allocations: 83.88 MB / 0.5321 GB, free: 26.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.5174, allocations: 67.75 kB / 0.5322 GB, free: 26.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02854/0.546, allocations: 9.888 MB / 0.5418 GB, free: 25.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.546, allocations: 0 / 0.5418 GB, free: 25.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.546, allocations: 0 / 0.5418 GB, free: 25.46 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.0007032/0.5467, allocations: 488.4 kB / 0.5423 GB, free: 24.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5468, allocations: 10.34 kB / 0.5423 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.5468, allocations: 5.969 kB / 0.5423 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.732e-05/0.5469, allocations: 163 kB / 0.5425 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.5469, allocations: 1.25 kB / 0.5425 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.5469, allocations: 5.234 kB / 0.5425 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.547, allocations: 36.27 kB / 0.5425 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.547, allocations: 1.281 kB / 0.5425 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.5471, allocations: 4 kB / 0.5425 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5471, allocations: 0 / 0.5425 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.5471, allocations: 9.109 kB / 0.5425 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.5472, allocations: 144.8 kB / 0.5427 GB, free: 24.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.5472, allocations: 20.64 kB / 0.5427 GB, free: 24.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.5473, allocations: 1.594 kB / 0.5427 GB, free: 24.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.5473, allocations: 62.33 kB / 0.5428 GB, free: 24.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.5473, allocations: 5.438 kB / 0.5428 GB, free: 24.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001617/0.5475, allocations: 60.09 kB / 0.5428 GB, free: 24.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.5475, allocations: 78.3 kB / 0.5429 GB, free: 24.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.203e-05/0.5476, allocations: 85 kB / 0.543 GB, free: 24.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.5476, allocations: 25.7 kB / 0.543 GB, free: 24.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/0.5476, allocations: 85.14 kB / 0.5431 GB, free: 24.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.5476, allocations: 3.906 kB / 0.5431 GB, free: 24.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.5476, allocations: 0 / 0.5431 GB, free: 24.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.5477, allocations: 325.8 kB / 0.5434 GB, free: 23.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.5477, allocations: 1.281 kB / 0.5434 GB, free: 23.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.5477, allocations: 1.031 kB / 0.5434 GB, free: 23.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.5477, allocations: 26.8 kB / 0.5434 GB, free: 23.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5477, allocations: 1.219 kB / 0.5434 GB, free: 23.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.527e-05/0.5478, allocations: 60.34 kB / 0.5435 GB, free: 23.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.5478, allocations: 37.69 kB / 0.5435 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5478, allocations: 5.688 kB / 0.5435 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5479, allocations: 0 / 0.5435 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.5479, allocations: 4.094 kB / 0.5435 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.5479, allocations: 0 / 0.5435 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.5479, allocations: 2.219 kB / 0.5435 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5479, allocations: 0 / 0.5435 GB, free: 23.63 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 5.281e-05/0.548, allocations: 139.2 kB / 0.5437 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.548, allocations: 2 kB / 0.5437 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.548, allocations: 8.859 kB / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.548, allocations: 0 / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.548, allocations: 3.938 kB / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.548, allocations: 4 kB / 0.5437 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.326e-05/0.5481, allocations: 149 kB / 0.5438 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5481, allocations: 1.344 kB / 0.5438 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.5481, allocations: 0 / 0.5438 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.5481, allocations: 0 / 0.5438 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.5481, allocations: 3.328 kB / 0.5438 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.5481, allocations: 0 / 0.5438 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5481, allocations: 0 / 0.5438 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.167e-05/0.5482, allocations: 96.03 kB / 0.5439 GB, free: 23.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.5482, allocations: 80.12 kB / 0.544 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.5482, allocations: 1.562 kB / 0.544 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-06/0.5483, allocations: 7.5 kB / 0.544 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.5483, allocations: 0 / 0.544 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.5483, allocations: 1.031 kB / 0.544 GB, free: 23.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.368e-05/0.5483, allocations: 76.41 kB / 0.5441 GB, free: 23 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5483, allocations: 0 / 0.5441 GB, free: 23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.549, allocations: 174.4 kB / 0.5442 GB, free: 22.95 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.0008097/0.5498, allocations: 415.3 kB / 0.5446 GB, free: 22.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.728e-05/0.5499, allocations: 57.12 kB / 0.5447 GB, free: 22.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5499, allocations: 9.438 kB / 0.5447 GB, free: 22.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.55, allocations: 58.09 kB / 0.5448 GB, free: 22.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.345e-05/0.5501, allocations: 5.906 kB / 0.5448 GB, free: 22.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001542/0.5502, allocations: 83.56 kB / 0.5448 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.5503, allocations: 0.6738 MB / 0.5455 GB, free: 21.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.51e-06/0.5503, allocations: 0 / 0.5455 GB, free: 21.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-06/0.5504, allocations: 10.19 kB / 0.5455 GB, free: 21.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5504, allocations: 0 / 0.5455 GB, free: 21.85 MB / 378.7 MB Notification: Performance of Templates: time 0.007673/0.558, allocations: 4.014 MB / 0.5494 GB, free: 21.43 MB / 378.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)