Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001093/0.001093, 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/package.mo): time 0.7262/0.7262, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.49/1.49, allocations: 222.9 MB / 403.4 MB, free: 7.027 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.001263/0.001263, allocations: 99.75 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000988/0.000988, allocations: 55.92 kB / 0.5619 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1327, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001856/0.1346, allocations: 0.6676 MB / 0.6408 GB, free: 6.086 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004134/0.135, allocations: 167.5 kB / 0.641 GB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.135, allocations: 0 / 0.641 GB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.1351, allocations: 0 / 0.641 GB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 1.795e-05/0.1351, allocations: 3.938 kB / 0.641 GB, free: 5.918 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1354, allocations: 35.89 kB / 0.641 GB, free: 5.883 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.1354, allocations: 8 kB / 0.641 GB, free: 5.875 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.1355, allocations: 8 kB / 0.641 GB, free: 5.867 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.1355, allocations: 4 kB / 0.641 GB, free: 5.863 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.1356, allocations: 15.91 kB / 0.6411 GB, free: 5.848 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1356, allocations: 0 / 0.6411 GB, free: 5.848 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.1357, allocations: 31.97 kB / 0.6411 GB, free: 5.816 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.1357, allocations: 11.98 kB / 0.6411 GB, free: 5.805 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.1357, allocations: 3.938 kB / 0.6411 GB, free: 5.801 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.1358, allocations: 23.95 kB / 0.6411 GB, free: 5.777 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1359, allocations: 4 kB / 0.6411 GB, free: 5.773 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1359, allocations: 0 / 0.6411 GB, free: 5.773 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1359, allocations: 4 kB / 0.6411 GB, free: 5.77 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.0003623/0.1362, allocations: 331.5 kB / 0.6415 GB, free: 5.395 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1363, allocations: 12.03 kB / 0.6415 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1363, allocations: 4.922 kB / 0.6415 GB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1364, allocations: 164.4 kB / 0.6416 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1365, allocations: 8.312 kB / 0.6416 GB, free: 5.172 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1365, allocations: 384 / 0.6416 GB, free: 5.172 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1366, allocations: 42.25 kB / 0.6417 GB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1367, allocations: 8.188 kB / 0.6417 GB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1367, allocations: 7.875 kB / 0.6417 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1367, allocations: 0 / 0.6417 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.1367, allocations: 15.98 kB / 0.6417 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.137, allocations: 161.9 kB / 0.6419 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1371, allocations: 46.56 kB / 0.6419 GB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.1371, allocations: 20.92 kB / 0.6419 GB, free: 4.809 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.1373, allocations: 85.09 kB / 0.642 GB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1373, allocations: 38.56 kB / 0.642 GB, free: 4.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1373, allocations: 0 / 0.642 GB, free: 4.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.001321/0.1386, allocations: 476.1 kB / 0.6425 GB, free: 4.121 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1387, allocations: 55.41 kB / 0.6425 GB, free: 4.055 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.1388, allocations: 93.86 kB / 0.6426 GB, free: 3.953 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1388, allocations: 29.69 kB / 0.6427 GB, free: 3.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.1388, allocations: 84.27 kB / 0.6427 GB, free: 3.832 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1388, allocations: 27.56 kB / 0.6428 GB, free: 3.805 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1389, allocations: 25.64 kB / 0.6428 GB, free: 3.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.139, allocations: 314.8 kB / 0.6431 GB, free: 3.457 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.139, allocations: 8 kB / 0.6431 GB, free: 3.449 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.1391, allocations: 20.48 kB / 0.6431 GB, free: 3.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.1391, allocations: 32.86 kB / 0.6432 GB, free: 3.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1391, allocations: 4 kB / 0.6432 GB, free: 3.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001214/0.1393, allocations: 73.67 kB / 0.6432 GB, free: 3.312 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1393, allocations: 7.938 kB / 0.6432 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1393, allocations: 0 / 0.6432 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1393, allocations: 0 / 0.6432 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.1394, allocations: 23.92 kB / 0.6433 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1394, allocations: 0 / 0.6433 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.1394, allocations: 4 kB / 0.6433 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1394, allocations: 0 / 0.6433 GB, free: 3.277 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.55e-05/0.1395, allocations: 115.2 kB / 0.6434 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1395, allocations: 7.938 kB / 0.6434 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.1397, allocations: 85.53 kB / 0.6435 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1397, allocations: 3.938 kB / 0.6435 GB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1397, allocations: 0 / 0.6435 GB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1397, allocations: 3.938 kB / 0.6435 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.1399, allocations: 169.6 kB / 0.6436 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1399, allocations: 0 / 0.6436 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.14, allocations: 15.98 kB / 0.6436 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.14, allocations: 3.938 kB / 0.6437 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.14, allocations: 7.938 kB / 0.6437 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.14, allocations: 4 kB / 0.6437 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.14, allocations: 0 / 0.6437 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.1425, allocations: 1.345 MB / 0.645 GB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.1426, allocations: 81.09 kB / 0.6451 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.1426, allocations: 0 / 0.6451 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.1426, allocations: 4 kB / 0.6451 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1427, allocations: 4.094 kB / 0.6451 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1427, allocations: 8 kB / 0.6451 GB, free: 1.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.1427, allocations: 79.27 kB / 0.6451 GB, free: 1.109 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1427, allocations: 0 / 0.6451 GB, free: 1.109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.143, allocations: 28 kB / 0.6452 GB, free: 1.082 MB / 442.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.0002703/0.1433, allocations: 135.1 kB / 0.6453 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1434, allocations: 35.98 kB / 0.6453 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1435, allocations: 4.094 kB / 0.6453 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.1435, allocations: 27.92 kB / 0.6454 GB, free: 0.875 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.1437, allocations: 1.891 kB / 0.6454 GB, free: 0.875 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.1441, allocations: 274 kB / 0.6456 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1443, allocations: 0.6848 MB / 0.6463 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.869e-05/0.1444, allocations: 8 kB / 0.6463 GB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.1444, allocations: 11.44 kB / 0.6463 GB, free: 15.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1444, allocations: 0 / 0.6463 GB, free: 15.84 MB / 458.7 MB Notification: Performance of Templates: time 0.003062/0.1475, allocations: 0.8931 MB / 0.6472 GB, free: 14.95 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)