Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7918/0.7918, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 404.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 91.77 kB / 485.9 MB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1589, allocations: 80.42 MB / 0.6422 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002252/0.1612, allocations: 0.6583 MB / 0.6428 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004536/0.1617, allocations: 171.5 kB / 0.643 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.1617, allocations: 0 / 0.643 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.1617, allocations: 0 / 0.643 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.601e-05/0.1618, allocations: 4 kB / 0.643 GB, free: 4.602 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1621, allocations: 25.3 kB / 0.643 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.1621, allocations: 19.97 kB / 0.643 GB, free: 4.559 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.1622, allocations: 0 / 0.643 GB, free: 4.559 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.1622, allocations: 7.938 kB / 0.643 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.1623, allocations: 15.92 kB / 0.643 GB, free: 4.535 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1623, allocations: 0 / 0.643 GB, free: 4.535 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.559e-05/0.1624, allocations: 31.97 kB / 0.6431 GB, free: 4.504 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.1624, allocations: 3.984 kB / 0.6431 GB, free: 4.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.1624, allocations: 11.94 kB / 0.6431 GB, free: 4.488 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1625, allocations: 27.94 kB / 0.6431 GB, free: 4.461 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1626, allocations: 4 kB / 0.6431 GB, free: 4.457 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1626, allocations: 0 / 0.6431 GB, free: 4.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1626, allocations: 0 / 0.6431 GB, free: 4.457 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004144/0.163, allocations: 335.5 kB / 0.6434 GB, free: 4.078 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.163, allocations: 8.031 kB / 0.6434 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1631, allocations: 4.938 kB / 0.6434 GB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1632, allocations: 160.4 kB / 0.6436 GB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1632, allocations: 4.312 kB / 0.6436 GB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1633, allocations: 12.38 kB / 0.6436 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1634, allocations: 42.25 kB / 0.6436 GB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1634, allocations: 4.172 kB / 0.6436 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1634, allocations: 3.938 kB / 0.6437 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1634, allocations: 3.938 kB / 0.6437 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.1635, allocations: 15.94 kB / 0.6437 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1637, allocations: 161.9 kB / 0.6438 GB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.936e-05/0.1638, allocations: 42.62 kB / 0.6439 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.1638, allocations: 24.97 kB / 0.6439 GB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.1639, allocations: 81.11 kB / 0.644 GB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.164, allocations: 30.56 kB / 0.644 GB, free: 3.359 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.164, allocations: 0 / 0.644 GB, free: 3.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.001288/0.1653, allocations: 492 kB / 0.6445 GB, free: 2.805 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.1653, allocations: 51.41 kB / 0.6445 GB, free: 2.742 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.1654, allocations: 93.86 kB / 0.6446 GB, free: 2.641 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1654, allocations: 33.7 kB / 0.6446 GB, free: 2.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1655, allocations: 80.14 kB / 0.6447 GB, free: 2.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1655, allocations: 35.53 kB / 0.6447 GB, free: 2.484 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.1655, allocations: 17.72 kB / 0.6448 GB, free: 2.461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1657, allocations: 310.8 kB / 0.6451 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.1657, allocations: 15.98 kB / 0.6451 GB, free: 2.133 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.1657, allocations: 12 kB / 0.6451 GB, free: 2.121 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.46e-05/0.1658, allocations: 44.91 kB / 0.6451 GB, free: 2.074 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1658, allocations: 0 / 0.6451 GB, free: 2.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001022/0.1659, allocations: 65.69 kB / 0.6452 GB, free: 2.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.166, allocations: 7.938 kB / 0.6452 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.166, allocations: 0 / 0.6452 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.166, allocations: 0 / 0.6452 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.1661, allocations: 15.98 kB / 0.6452 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1661, allocations: 0 / 0.6452 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.1661, allocations: 4 kB / 0.6452 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1661, allocations: 4.438 kB / 0.6452 GB, free: 1.973 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.1662, allocations: 113.8 kB / 0.6453 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.1663, allocations: 11.88 kB / 0.6453 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.1664, allocations: 89.83 kB / 0.6454 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1664, allocations: 4 kB / 0.6454 GB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1664, allocations: 4 kB / 0.6454 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1665, allocations: 0 / 0.6454 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1666, allocations: 173.6 kB / 0.6456 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1666, allocations: 0 / 0.6456 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.1667, allocations: 16 kB / 0.6456 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1667, allocations: 3.938 kB / 0.6456 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1667, allocations: 0 / 0.6456 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1667, allocations: 3.938 kB / 0.6456 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1667, allocations: 4 kB / 0.6456 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.1694, allocations: 1.332 MB / 0.6469 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.1694, allocations: 81.3 kB / 0.647 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1695, allocations: 12 kB / 0.647 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.1695, allocations: 0 / 0.647 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.1695, allocations: 7.984 kB / 0.647 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1696, allocations: 4 kB / 0.647 GB, free: 15.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.1696, allocations: 75.28 kB / 0.6471 GB, free: 15.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1696, allocations: 0 / 0.6471 GB, free: 15.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000315/0.1699, allocations: 32 kB / 0.6471 GB, free: 15.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002346/0.1702, allocations: 135.2 kB / 0.6473 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1703, allocations: 39.92 kB / 0.6473 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1703, allocations: 0 / 0.6473 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.1703, allocations: 24.3 kB / 0.6473 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1705, allocations: 9.906 kB / 0.6473 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1709, allocations: 277.9 kB / 0.6476 GB, free: 15.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1712, allocations: 0.6848 MB / 0.6483 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.175e-05/0.1713, allocations: 8.141 kB / 0.6483 GB, free: 14.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.1713, allocations: 15.42 kB / 0.6483 GB, free: 14.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1713, allocations: 0 / 0.6483 GB, free: 14.52 MB / 458.7 MB Notification: Performance of Templates: time 0.003348/0.1747, allocations: 0.8843 MB / 0.6492 GB, free: 13.64 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)