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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001505/0.001505, allocations: 187 kB / 17.34 MB, free: 5.742 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7883/0.7883, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.47 kB / 0.5821 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001836/0.1461, allocations: 0.5915 MB / 0.661 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004286/0.1466, allocations: 170.3 kB / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1466, allocations: 0 / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1467, allocations: 0 / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.801e-05/0.1467, allocations: 0 / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1471, allocations: 43.83 kB / 0.6612 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.1471, allocations: 15.98 kB / 0.6612 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.1472, allocations: 7.938 kB / 0.6612 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.1472, allocations: 0 / 0.6612 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.1473, allocations: 15.92 kB / 0.6612 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1473, allocations: 0 / 0.6612 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.1474, allocations: 35.95 kB / 0.6612 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1474, allocations: 4 kB / 0.6612 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.1475, allocations: 11.92 kB / 0.6613 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1476, allocations: 27.95 kB / 0.6613 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1476, allocations: 0 / 0.6613 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1476, allocations: 4 kB / 0.6613 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1476, allocations: 0 / 0.6613 GB, free: 9.312 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.0003747/0.148, allocations: 331.5 kB / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.148, allocations: 12.03 kB / 0.6616 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1481, allocations: 0.9375 kB / 0.6616 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1482, allocations: 168.3 kB / 0.6618 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1482, allocations: 4.375 kB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1482, allocations: 4.375 kB / 0.6618 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1483, allocations: 50.19 kB / 0.6618 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1483, allocations: 192 / 0.6618 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1484, allocations: 3.938 kB / 0.6618 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1484, allocations: 4 kB / 0.6618 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.1484, allocations: 15.98 kB / 0.6619 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1486, allocations: 157.6 kB / 0.662 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.1487, allocations: 42.62 kB / 0.662 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.1488, allocations: 24.92 kB / 0.6621 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.269e-05/0.1489, allocations: 81.11 kB / 0.6621 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1489, allocations: 34.55 kB / 0.6622 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1489, allocations: 0 / 0.6622 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001232/0.1501, allocations: 488.1 kB / 0.6626 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1502, allocations: 51.41 kB / 0.6627 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.1503, allocations: 97.86 kB / 0.6628 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1503, allocations: 29.7 kB / 0.6628 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.1503, allocations: 80.14 kB / 0.6629 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.1504, allocations: 31.58 kB / 0.6629 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.1504, allocations: 17.72 kB / 0.6629 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1505, allocations: 318.8 kB / 0.6632 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.1506, allocations: 8 kB / 0.6632 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.1506, allocations: 19.92 kB / 0.6633 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.1507, allocations: 36.98 kB / 0.6633 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1507, allocations: 4 kB / 0.6633 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001088/0.1508, allocations: 65.91 kB / 0.6634 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1508, allocations: 7.938 kB / 0.6634 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1508, allocations: 0 / 0.6634 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1509, allocations: 4 kB / 0.6634 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.235e-05/0.151, allocations: 15.92 kB / 0.6634 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.151, allocations: 12 kB / 0.6634 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.151, allocations: 4.438 kB / 0.6634 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.151, allocations: 0 / 0.6634 GB, free: 6.82 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 7.868e-05/0.1511, allocations: 114.7 kB / 0.6635 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.1511, allocations: 7.844 kB / 0.6635 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.1513, allocations: 81.64 kB / 0.6636 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1513, allocations: 4 kB / 0.6636 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1513, allocations: 0 / 0.6636 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1513, allocations: 3.984 kB / 0.6636 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1514, allocations: 161.7 kB / 0.6638 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1514, allocations: 0 / 0.6638 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.1515, allocations: 19.92 kB / 0.6638 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1515, allocations: 11.92 kB / 0.6638 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1516, allocations: 4 kB / 0.6638 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1516, allocations: 0 / 0.6638 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1516, allocations: 0 / 0.6638 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1517, allocations: 113.1 kB / 0.6639 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1518, allocations: 88.98 kB / 0.664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1518, allocations: 0 / 0.664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.1519, allocations: 0 / 0.664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.1519, allocations: 15.98 kB / 0.664 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1519, allocations: 4 kB / 0.664 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.1519, allocations: 79.28 kB / 0.6641 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.152, allocations: 0 / 0.6641 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002197/0.1522, allocations: 28 kB / 0.6641 GB, free: 5.984 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.0002037/0.1524, allocations: 131.2 kB / 0.6642 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1525, allocations: 35.98 kB / 0.6643 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1525, allocations: 4.094 kB / 0.6643 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1526, allocations: 31.86 kB / 0.6643 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.1527, allocations: 4 kB / 0.6643 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.153, allocations: 159.2 kB / 0.6645 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1532, allocations: 0.6807 MB / 0.6651 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1533, allocations: 15.38 kB / 0.6651 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1533, allocations: 0 / 0.6651 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.002268/0.1555, allocations: 0.9228 MB / 0.666 GB, free: 3.945 MB / 0.4981 GB 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)