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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 105.9 kB / 16.41 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 191.7 kB / 17.35 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8425/0.8425, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.52 kB / 0.5864 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 80.93 MB / 0.6654 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001624/0.1512, allocations: 0.5915 MB / 0.666 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000416/0.1517, allocations: 162.3 kB / 0.6661 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.1517, allocations: 0 / 0.6661 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.1517, allocations: 0 / 0.6661 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.698e-05/0.1517, allocations: 3.938 kB / 0.6661 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.152, allocations: 51.73 kB / 0.6662 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.1521, allocations: 11.98 kB / 0.6662 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.1521, allocations: 4 kB / 0.6662 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1521, allocations: 11.98 kB / 0.6662 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.1522, allocations: 11.92 kB / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1522, allocations: 4 kB / 0.6662 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.1523, allocations: 31.97 kB / 0.6663 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1523, allocations: 0 / 0.6663 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.1523, allocations: 15.91 kB / 0.6663 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1524, allocations: 27.91 kB / 0.6663 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1524, allocations: 0 / 0.6663 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1524, allocations: 0 / 0.6663 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1524, allocations: 3.938 kB / 0.6663 GB, free: 4.773 MB / 0.4981 GB 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.0004187/0.1528, allocations: 331.5 kB / 0.6666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1529, allocations: 9.109 kB / 0.6666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.1529, allocations: 0.9375 kB / 0.6666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1531, allocations: 180.2 kB / 0.6668 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1531, allocations: 384 / 0.6668 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1531, allocations: 384 / 0.6668 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1532, allocations: 46.25 kB / 0.6668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1532, allocations: 192 / 0.6668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1532, allocations: 11.94 kB / 0.6669 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1532, allocations: 4 kB / 0.6669 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/0.1533, allocations: 11.98 kB / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.1535, allocations: 161.7 kB / 0.667 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1536, allocations: 46.48 kB / 0.6671 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.1536, allocations: 20.98 kB / 0.6671 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.941e-05/0.1537, allocations: 85.09 kB / 0.6672 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1537, allocations: 34.56 kB / 0.6672 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1537, allocations: 0 / 0.6672 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001248/0.155, allocations: 484.5 kB / 0.6677 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.155, allocations: 51.41 kB / 0.6677 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.1551, allocations: 97.8 kB / 0.6678 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1551, allocations: 29.64 kB / 0.6678 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.1552, allocations: 80.14 kB / 0.6679 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1552, allocations: 35.86 kB / 0.668 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1552, allocations: 17.72 kB / 0.668 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1554, allocations: 318.8 kB / 0.6683 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.1554, allocations: 8 kB / 0.6683 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.1554, allocations: 19.97 kB / 0.6683 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.556e-05/0.1555, allocations: 32.86 kB / 0.6683 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1555, allocations: 4 kB / 0.6683 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000114/0.1556, allocations: 69.69 kB / 0.6684 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1556, allocations: 7.938 kB / 0.6684 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1556, allocations: 4 kB / 0.6684 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1557, allocations: 3.938 kB / 0.6684 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.1557, allocations: 19.92 kB / 0.6684 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1557, allocations: 0 / 0.6684 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.1558, allocations: 4 kB / 0.6684 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1558, allocations: 0 / 0.6684 GB, free: 2.277 MB / 0.4981 GB 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 9.062e-05/0.1559, allocations: 113.8 kB / 0.6685 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1559, allocations: 3.938 kB / 0.6686 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.1561, allocations: 89.58 kB / 0.6686 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1561, allocations: 0 / 0.6686 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1561, allocations: 3.984 kB / 0.6686 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1561, allocations: 0 / 0.6686 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.1562, allocations: 165.6 kB / 0.6688 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1562, allocations: 0 / 0.6688 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.1563, allocations: 15.98 kB / 0.6688 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1563, allocations: 3.938 kB / 0.6688 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1563, allocations: 4 kB / 0.6688 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1563, allocations: 4 kB / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1563, allocations: 4 kB / 0.6688 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1565, allocations: 109 kB / 0.6689 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.1565, allocations: 81.05 kB / 0.669 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1566, allocations: 4.031 kB / 0.669 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.1566, allocations: 4 kB / 0.669 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1566, allocations: 7.984 kB / 0.669 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1566, allocations: 0 / 0.669 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.1567, allocations: 83.34 kB / 0.6691 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.1567, allocations: 0 / 0.6691 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002283/0.1569, allocations: 31.94 kB / 0.6691 GB, free: 1.461 MB / 0.4981 GB 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.000212/0.1571, allocations: 128.5 kB / 0.6693 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1572, allocations: 44.33 kB / 0.6693 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1573, allocations: 0 / 0.6693 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.1573, allocations: 24.12 kB / 0.6693 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1574, allocations: 6.25 kB / 0.6693 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.1578, allocations: 183.1 kB / 0.6695 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1581, allocations: 0.6845 MB / 0.6702 GB, free: 340 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1582, allocations: 11.44 kB / 0.6702 GB, free: 328 kB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.1582, allocations: 0 / 0.6702 GB, free: 328 kB / 0.4981 GB Notification: Performance of Templates: time 0.002868/0.161, allocations: 0.9324 MB / 0.6711 GB, free: 15.39 MB / 0.5137 GB 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)