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.007959/0.007959, allocations: 175.1 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.816/1.816, allocations: 194.5 MB / 210.3 MB, free: 8.516 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.002027/0.002027, allocations: 112.6 kB / 255.6 MB, free: 11.12 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.2113/0.2113, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004494, allocations: 11.75 kB / 406.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 54.88 MB / 461 MB, free: 3.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.2601, allocations: 80.67 MB / 0.529 GB, free: 2.617 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.2604, allocations: 63.97 kB / 0.5291 GB, free: 2.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2969/0.5573, allocations: 6.326 MB / 0.5352 GB, free: 83.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5574, allocations: 1.25 kB / 0.5352 GB, free: 83.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.5574, allocations: 0 / 0.5352 GB, free: 83.38 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.0003076/0.5577, allocations: 374.9 kB / 0.5356 GB, free: 82.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5578, allocations: 9.656 kB / 0.5356 GB, free: 82.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.5578, allocations: 7.516 kB / 0.5356 GB, free: 82.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.5579, allocations: 164.2 kB / 0.5358 GB, free: 82.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.5579, allocations: 0 / 0.5358 GB, free: 82.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.558, allocations: 4.438 kB / 0.5358 GB, free: 82.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.5581, allocations: 32.5 kB / 0.5358 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5581, allocations: 0 / 0.5358 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5581, allocations: 1.5 kB / 0.5358 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5581, allocations: 4.328 kB / 0.5358 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.5581, allocations: 5.141 kB / 0.5358 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.5583, allocations: 144.2 kB / 0.536 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.5583, allocations: 21.19 kB / 0.536 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.5583, allocations: 1.078 kB / 0.536 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.5584, allocations: 60.86 kB / 0.536 GB, free: 82.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.5584, allocations: 5 kB / 0.536 GB, free: 82.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.5586, allocations: 60.69 kB / 0.5361 GB, free: 82.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5586, allocations: 82.56 kB / 0.5362 GB, free: 82.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.724e-05/0.5586, allocations: 85 kB / 0.5363 GB, free: 82.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.5587, allocations: 26.22 kB / 0.5363 GB, free: 82.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.5587, allocations: 84.2 kB / 0.5364 GB, free: 82.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.5587, allocations: 1.562 kB / 0.5364 GB, free: 82.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.5587, allocations: 1.156 kB / 0.5364 GB, free: 82.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.5588, allocations: 319.6 kB / 0.5367 GB, free: 81.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.5588, allocations: 1.094 kB / 0.5367 GB, free: 81.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-06/0.5588, allocations: 5.656 kB / 0.5367 GB, free: 81.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.5589, allocations: 28.83 kB / 0.5367 GB, free: 81.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5589, allocations: 0 / 0.5367 GB, free: 81.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.853e-05/0.5589, allocations: 61.14 kB / 0.5368 GB, free: 81.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.559, allocations: 34.17 kB / 0.5368 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.559, allocations: 0 / 0.5368 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.559, allocations: 1.531 kB / 0.5368 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/0.559, allocations: 7.656 kB / 0.5368 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.559, allocations: 0.6094 kB / 0.5368 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.559, allocations: 0.7188 kB / 0.5368 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.5591, allocations: 5.062 kB / 0.5368 GB, free: 81.64 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 7.812e-05/0.5591, allocations: 143.7 kB / 0.5369 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.5592, allocations: 0.7031 kB / 0.5369 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.5592, allocations: 7.078 kB / 0.537 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5592, allocations: 2.203 kB / 0.537 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5592, allocations: 4 kB / 0.537 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5592, allocations: 0 / 0.537 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.085e-05/0.5593, allocations: 149.1 kB / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5593, allocations: 1.891 kB / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.5593, allocations: 0 / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.5593, allocations: 0 / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.5593, allocations: 2.062 kB / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.5593, allocations: 0 / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.5593, allocations: 0 / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.5594, allocations: 99.7 kB / 0.5372 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.5595, allocations: 77.72 kB / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.5595, allocations: 1.812 kB / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.5595, allocations: 5.312 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.5595, allocations: 4.5 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.5595, allocations: 1.281 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.263e-05/0.5596, allocations: 75.28 kB / 0.5374 GB, free: 81.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5596, allocations: 0 / 0.5374 GB, free: 81.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.5598, allocations: 10 kB / 0.5374 GB, free: 81.02 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.0002547/0.56, allocations: 126.3 kB / 0.5375 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.5602, allocations: 60.11 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5602, allocations: 1.406 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.5602, allocations: 54.67 kB / 0.5376 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.48e-05/0.5603, allocations: 5.969 kB / 0.5376 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.5605, allocations: 86.95 kB / 0.5377 GB, free: 80.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.5607, allocations: 0.6741 MB / 0.5383 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.397e-05/0.5607, allocations: 0.7969 kB / 0.5383 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.5607, allocations: 7.438 kB / 0.5384 GB, free: 79.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5607, allocations: 2.906 kB / 0.5384 GB, free: 79.98 MB / 378.7 MB Notification: Performance of Templates: time 0.002508/0.5632, allocations: 292 kB / 0.5386 GB, free: 79.93 MB / 378.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)