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.001356/0.001356, allocations: 106.7 kB / 16.41 MB, free: 6.492 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.001075/0.001075, allocations: 191 kB / 17.34 MB, free: 5.766 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.329/1.329, 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-master/package.mo): time 0.7981/0.7981, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 72.56 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 80.92 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001489/0.1441, allocations: 0.5876 MB / 0.6659 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003737/0.1445, allocations: 166.3 kB / 0.6661 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.1445, allocations: 4 kB / 0.6661 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.1446, allocations: 0 / 0.6661 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.262e-05/0.1446, allocations: 3.938 kB / 0.6661 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1449, allocations: 51.73 kB / 0.6661 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.771e-05/0.1449, allocations: 15.98 kB / 0.6661 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.145, allocations: 0 / 0.6661 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.145, allocations: 7.984 kB / 0.6662 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.1451, allocations: 11.94 kB / 0.6662 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1451, allocations: 0 / 0.6662 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.1452, allocations: 35.95 kB / 0.6662 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1452, allocations: 7.984 kB / 0.6662 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.1452, allocations: 7.938 kB / 0.6662 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.675e-05/0.1453, allocations: 27.95 kB / 0.6662 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1453, allocations: 0 / 0.6662 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/0.1453, allocations: 0 / 0.6662 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.1453, allocations: 3.938 kB / 0.6662 GB, free: 4.82 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.0003426/0.1457, allocations: 335.6 kB / 0.6666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1457, allocations: 9.109 kB / 0.6666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1458, allocations: 4.938 kB / 0.6666 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.1459, allocations: 168.3 kB / 0.6667 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1459, allocations: 384 / 0.6667 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1459, allocations: 8.312 kB / 0.6667 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.146, allocations: 38.25 kB / 0.6668 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.146, allocations: 4.188 kB / 0.6668 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.146, allocations: 7.938 kB / 0.6668 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1461, allocations: 0 / 0.6668 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.1461, allocations: 11.98 kB / 0.6668 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.1463, allocations: 157.7 kB / 0.667 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.1464, allocations: 54.5 kB / 0.667 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.1464, allocations: 16.98 kB / 0.667 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.439e-05/0.1465, allocations: 81.09 kB / 0.6671 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.1465, allocations: 34.56 kB / 0.6671 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1465, allocations: 0 / 0.6671 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001161/0.1477, allocations: 492.3 kB / 0.6676 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1478, allocations: 55.41 kB / 0.6677 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.1478, allocations: 97.78 kB / 0.6678 GB, free: 3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1478, allocations: 25.7 kB / 0.6678 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.1479, allocations: 88.14 kB / 0.6679 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1479, allocations: 15.66 kB / 0.6679 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1479, allocations: 29.7 kB / 0.6679 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.148, allocations: 314.8 kB / 0.6682 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.1481, allocations: 16.12 kB / 0.6682 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.1481, allocations: 15.98 kB / 0.6682 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.1482, allocations: 33.08 kB / 0.6683 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1482, allocations: 0 / 0.6683 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001037/0.1483, allocations: 69.67 kB / 0.6683 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1483, allocations: 11.94 kB / 0.6683 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1483, allocations: 3.984 kB / 0.6683 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1483, allocations: 3.938 kB / 0.6684 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.1484, allocations: 15.94 kB / 0.6684 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1484, allocations: 0 / 0.6684 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.1485, allocations: 4 kB / 0.6684 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1485, allocations: 4 kB / 0.6684 GB, free: 2.328 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 6.378e-05/0.1485, allocations: 111.2 kB / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.1486, allocations: 15.83 kB / 0.6685 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.1487, allocations: 77.64 kB / 0.6686 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1487, allocations: 4 kB / 0.6686 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1487, allocations: 3.938 kB / 0.6686 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1487, allocations: 0 / 0.6686 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1488, allocations: 161.7 kB / 0.6687 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1489, allocations: 0 / 0.6687 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.1489, allocations: 19.98 kB / 0.6688 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1489, allocations: 3.938 kB / 0.6688 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.149, allocations: 0 / 0.6688 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.149, allocations: 0 / 0.6688 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.149, allocations: 0 / 0.6688 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1491, allocations: 117 kB / 0.6689 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1492, allocations: 89.02 kB / 0.669 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1492, allocations: 8.062 kB / 0.669 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.1493, allocations: 4.031 kB / 0.669 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1493, allocations: 3.984 kB / 0.669 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.1493, allocations: 4 kB / 0.669 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.67e-05/0.1493, allocations: 75.28 kB / 0.669 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 0 / 0.669 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1495, allocations: 35.98 kB / 0.6691 GB, free: 1.508 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.0001873/0.1497, allocations: 135.3 kB / 0.6692 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1499, allocations: 35.97 kB / 0.6692 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1499, allocations: 3.938 kB / 0.6692 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.1499, allocations: 23.98 kB / 0.6693 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.15, allocations: 5.875 kB / 0.6693 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1504, allocations: 159.2 kB / 0.6694 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1506, allocations: 0.6845 MB / 0.6701 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.1506, allocations: 15.44 kB / 0.6701 GB, free: 392 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1506, allocations: 0 / 0.6701 GB, free: 392 kB / 0.4981 GB Notification: Performance of Templates: time 0.002349/0.153, allocations: 0.9254 MB / 0.671 GB, free: 15.45 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)