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.006135/0.006135, allocations: 101.4 kB / 15.73 MB, free: 6.039 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.00123/0.00123, allocations: 202 kB / 16.68 MB, free: 5.965 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9691/0.9691, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 0.5857 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4271, allocations: 80.91 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001538/0.4287, allocations: 0.5894 MB / 0.6653 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003689/0.4291, allocations: 156.8 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.4291, allocations: 5.406 kB / 0.6654 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.4291, allocations: 3.938 kB / 0.6654 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.4292, allocations: 0 / 0.6654 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.4295, allocations: 41.48 kB / 0.6655 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.4296, allocations: 15.08 kB / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.4296, allocations: 2.656 kB / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.4297, allocations: 14.77 kB / 0.6655 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.4297, allocations: 2.75 kB / 0.6655 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4298, allocations: 1.594 kB / 0.6655 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.4299, allocations: 39.52 kB / 0.6655 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.4299, allocations: 9.516 kB / 0.6655 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.4299, allocations: 9.281 kB / 0.6656 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.43, allocations: 29.55 kB / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4301, allocations: 0 / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4301, allocations: 0 / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.4301, allocations: 1.469 kB / 0.6656 GB, free: 6.926 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.0004173/0.4305, allocations: 331 kB / 0.6659 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4306, allocations: 13.48 kB / 0.6659 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.4306, allocations: 6.141 kB / 0.6659 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.4307, allocations: 169.9 kB / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4307, allocations: 384 / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.4308, allocations: 7.344 kB / 0.6661 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.4309, allocations: 41.69 kB / 0.6661 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4309, allocations: 192 / 0.6661 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4309, allocations: 3.938 kB / 0.6661 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4309, allocations: 5.062 kB / 0.6661 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.431, allocations: 20.11 kB / 0.6662 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.4312, allocations: 155.2 kB / 0.6663 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4313, allocations: 48.38 kB / 0.6663 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.4313, allocations: 17.17 kB / 0.6664 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.4314, allocations: 84.12 kB / 0.6664 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4315, allocations: 30.56 kB / 0.6665 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4315, allocations: 1.156 kB / 0.6665 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001296/0.4328, allocations: 0.4921 MB / 0.667 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4328, allocations: 51.41 kB / 0.667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.4329, allocations: 104.2 kB / 0.6671 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.4329, allocations: 25.7 kB / 0.6671 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.4329, allocations: 81.52 kB / 0.6672 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.433, allocations: 26.34 kB / 0.6672 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.433, allocations: 27.52 kB / 0.6673 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.4331, allocations: 316.2 kB / 0.6676 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.4332, allocations: 11.06 kB / 0.6676 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.4332, allocations: 17.47 kB / 0.6676 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.4333, allocations: 34.92 kB / 0.6676 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4333, allocations: 0 / 0.6676 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001238/0.4334, allocations: 72.14 kB / 0.6677 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4335, allocations: 10.19 kB / 0.6677 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4335, allocations: 5.453 kB / 0.6677 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4335, allocations: 0 / 0.6677 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.4336, allocations: 10.69 kB / 0.6677 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4336, allocations: 5.094 kB / 0.6677 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.4337, allocations: 5.156 kB / 0.6677 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4337, allocations: 1.125 kB / 0.6677 GB, free: 4.703 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 8.265e-05/0.4338, allocations: 111 kB / 0.6678 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.4338, allocations: 6.281 kB / 0.6678 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.434, allocations: 91.86 kB / 0.6679 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.434, allocations: 5.078 kB / 0.6679 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.434, allocations: 0 / 0.6679 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.434, allocations: 4 kB / 0.6679 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.4342, allocations: 166.4 kB / 0.6681 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4342, allocations: 0 / 0.6681 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.4343, allocations: 16.05 kB / 0.6681 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4343, allocations: 3.938 kB / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4343, allocations: 1.406 kB / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4343, allocations: 0 / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4343, allocations: 0 / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.4345, allocations: 123.7 kB / 0.6682 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.4346, allocations: 82.55 kB / 0.6683 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4346, allocations: 0 / 0.6683 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/0.4347, allocations: 1.5 kB / 0.6683 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.4347, allocations: 6.328 kB / 0.6683 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.4347, allocations: 6.875 kB / 0.6683 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.4347, allocations: 76.34 kB / 0.6684 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4347, allocations: 0 / 0.6684 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002611/0.435, allocations: 28.84 kB / 0.6684 GB, free: 4.012 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.0003153/0.4353, allocations: 144.4 kB / 0.6686 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.4355, allocations: 37.02 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4355, allocations: 0 / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.4356, allocations: 27.17 kB / 0.6686 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.4357, allocations: 2.5 kB / 0.6686 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.4361, allocations: 138.2 kB / 0.6688 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.4362, allocations: 0.6833 MB / 0.6694 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.4363, allocations: 16.61 kB / 0.6694 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.4363, allocations: 10.56 kB / 0.6694 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4363, allocations: 0 / 0.6694 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.004103/0.4404, allocations: 0.881 MB / 0.6703 GB, free: 2.543 MB / 0.4981 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)