Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001559/0.001559, allocations: 181.9 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.863/1.863, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001823/0.001823, allocations: 100 kB / 252.6 MB, free: 4.836 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.2574/0.2574, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.023e-05/4.026e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5066/0.6415, allocations: 80.6 MB / 0.5232 GB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.6418, allocations: 63.53 kB / 0.5232 GB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.658, allocations: 6.316 MB / 0.5294 GB, free: 5.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6581, allocations: 0 / 0.5294 GB, free: 5.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.6581, allocations: 0 / 0.5294 GB, free: 5.289 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.0003628/0.6585, allocations: 371.8 kB / 0.5298 GB, free: 4.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.6586, allocations: 12.03 kB / 0.5298 GB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.6586, allocations: 11.86 kB / 0.5298 GB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.6588, allocations: 163.1 kB / 0.5299 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6588, allocations: 0 / 0.5299 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.6588, allocations: 0 / 0.5299 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.6589, allocations: 29.7 kB / 0.53 GB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6589, allocations: 0 / 0.53 GB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.659, allocations: 0 / 0.53 GB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.659, allocations: 0 / 0.53 GB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.859e-05/0.659, allocations: 3.953 kB / 0.53 GB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.6592, allocations: 165.4 kB / 0.5301 GB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.53e-05/0.6592, allocations: 14.58 kB / 0.5301 GB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.6592, allocations: 8.953 kB / 0.5301 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-06/0.6592, allocations: 0 / 0.5301 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.6593, allocations: 56.27 kB / 0.5302 GB, free: 4.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.6593, allocations: 0 / 0.5302 GB, free: 4.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002018/0.6595, allocations: 67.03 kB / 0.5303 GB, free: 4.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.6596, allocations: 85.12 kB / 0.5303 GB, free: 4.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.6596, allocations: 88.94 kB / 0.5304 GB, free: 4.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.6596, allocations: 25.7 kB / 0.5305 GB, free: 4.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.6597, allocations: 80.14 kB / 0.5305 GB, free: 3.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.6597, allocations: 0 / 0.5305 GB, free: 3.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.6597, allocations: 4 kB / 0.5305 GB, free: 3.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.6598, allocations: 314.8 kB / 0.5308 GB, free: 3.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.6598, allocations: 3.938 kB / 0.5308 GB, free: 3.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.6598, allocations: 4 kB / 0.5308 GB, free: 3.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.6599, allocations: 29.7 kB / 0.5309 GB, free: 3.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6599, allocations: 0 / 0.5309 GB, free: 3.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.114e-05/0.6599, allocations: 59.39 kB / 0.5309 GB, free: 3.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.66, allocations: 33.7 kB / 0.531 GB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.66, allocations: 3.984 kB / 0.531 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.66, allocations: 0 / 0.531 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-06/0.66, allocations: 0 / 0.531 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.66, allocations: 3.938 kB / 0.531 GB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.66, allocations: 96 / 0.531 GB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.6601, allocations: 8 kB / 0.531 GB, free: 3.441 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 6.614e-05/0.6601, allocations: 130.6 kB / 0.5311 GB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.6602, allocations: 0 / 0.5311 GB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.6602, allocations: 15.06 kB / 0.5311 GB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.6602, allocations: 0 / 0.5311 GB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6602, allocations: 0 / 0.5311 GB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6602, allocations: 0 / 0.5311 GB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.086e-05/0.6603, allocations: 149.3 kB / 0.5313 GB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6603, allocations: 4 kB / 0.5313 GB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6603, allocations: 4 kB / 0.5313 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6603, allocations: 4 kB / 0.5313 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.6603, allocations: 3.938 kB / 0.5313 GB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.6603, allocations: 0 / 0.5313 GB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6603, allocations: 3.984 kB / 0.5313 GB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.6604, allocations: 90.36 kB / 0.5314 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.6604, allocations: 77.11 kB / 0.5314 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.6605, allocations: 3.984 kB / 0.5314 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-06/0.6605, allocations: 7.969 kB / 0.5314 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.6605, allocations: 0 / 0.5314 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.6605, allocations: 4 kB / 0.5314 GB, free: 2.855 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.6605, allocations: 75.28 kB / 0.5315 GB, free: 2.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6605, allocations: 0 / 0.5315 GB, free: 2.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.6607, allocations: 4 kB / 0.5315 GB, free: 2.777 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.000308/0.6611, allocations: 117.7 kB / 0.5316 GB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.6612, allocations: 63.33 kB / 0.5317 GB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6612, allocations: 0 / 0.5317 GB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.6612, allocations: 55.41 kB / 0.5317 GB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.265e-05/0.6613, allocations: 7.953 kB / 0.5318 GB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.6615, allocations: 41.06 kB / 0.5318 GB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.6616, allocations: 0.677 MB / 0.5325 GB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.614e-06/0.6617, allocations: 4 kB / 0.5325 GB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.6617, allocations: 11.56 kB / 0.5325 GB, free: 1.734 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6617, allocations: 0 / 0.5325 GB, free: 1.734 MB / 346.7 MB Notification: Performance of Templates: time 0.002522/0.6642, allocations: 295.1 kB / 0.5328 GB, free: 1.465 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1)