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.006472/0.006473, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.00122/0.00122, allocations: 193 kB / 16.67 MB, free: 5.973 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9179/0.9179, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.91 kB / 0.5857 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4132, allocations: 80.91 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001506/0.4147, allocations: 0.5977 MB / 0.6653 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003316/0.4151, allocations: 164.9 kB / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.4151, allocations: 0 / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.4151, allocations: 0 / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.557e-05/0.4152, allocations: 3.938 kB / 0.6654 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.4154, allocations: 38.8 kB / 0.6655 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.542e-05/0.4155, allocations: 15.3 kB / 0.6655 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.4155, allocations: 1.531 kB / 0.6655 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.4156, allocations: 8.156 kB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.4156, allocations: 13.42 kB / 0.6655 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4156, allocations: 1.562 kB / 0.6655 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.4157, allocations: 35.83 kB / 0.6655 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.4157, allocations: 1.5 kB / 0.6655 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.4157, allocations: 10.28 kB / 0.6655 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.63e-05/0.4158, allocations: 33.38 kB / 0.6656 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4158, allocations: 0 / 0.6656 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4158, allocations: 0 / 0.6656 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4159, allocations: 0 / 0.6656 GB, free: 6.914 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.0002794/0.4161, allocations: 338 kB / 0.6659 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4162, allocations: 10.16 kB / 0.6659 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.4162, allocations: 2.375 kB / 0.6659 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.294e-05/0.4163, allocations: 168.3 kB / 0.6661 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.4163, allocations: 1.844 kB / 0.6661 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.4163, allocations: 7.156 kB / 0.6661 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.225e-05/0.4164, allocations: 45.39 kB / 0.6661 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.4164, allocations: 192 / 0.6661 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4164, allocations: 9 kB / 0.6661 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4165, allocations: 1.438 kB / 0.6661 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.4165, allocations: 19.17 kB / 0.6662 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.4166, allocations: 159 kB / 0.6663 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.4167, allocations: 47.72 kB / 0.6664 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.4167, allocations: 17.95 kB / 0.6664 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.883e-05/0.4168, allocations: 79.55 kB / 0.6664 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.4169, allocations: 35.8 kB / 0.6665 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4169, allocations: 4 kB / 0.6665 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001142/0.418, allocations: 495.9 kB / 0.667 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.418, allocations: 52.78 kB / 0.667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.686e-05/0.4181, allocations: 95.3 kB / 0.6671 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.4181, allocations: 29.7 kB / 0.6671 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.4181, allocations: 81.45 kB / 0.6672 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.4181, allocations: 24.47 kB / 0.6672 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.4182, allocations: 22.88 kB / 0.6672 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.4182, allocations: 320 kB / 0.6676 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.4182, allocations: 11 kB / 0.6676 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.4183, allocations: 18.25 kB / 0.6676 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.801e-05/0.4183, allocations: 30.73 kB / 0.6676 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4183, allocations: 0 / 0.6676 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.531e-05/0.4184, allocations: 75.17 kB / 0.6677 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.4185, allocations: 9.125 kB / 0.6677 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.4185, allocations: 4 kB / 0.6677 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4185, allocations: 1.344 kB / 0.6677 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.4186, allocations: 14.92 kB / 0.6677 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4186, allocations: 0 / 0.6677 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.4186, allocations: 1.438 kB / 0.6677 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.4186, allocations: 5.469 kB / 0.6677 GB, free: 4.695 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 4.274e-05/0.4187, allocations: 111.5 kB / 0.6678 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.4187, allocations: 9.188 kB / 0.6678 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.4188, allocations: 91.39 kB / 0.6679 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4188, allocations: 1.469 kB / 0.6679 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4189, allocations: 1.438 kB / 0.6679 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4189, allocations: 7.922 kB / 0.6679 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.4189, allocations: 161.5 kB / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4189, allocations: 0 / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.419, allocations: 11.12 kB / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.419, allocations: 5.312 kB / 0.6681 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.419, allocations: 4.172 kB / 0.6681 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.419, allocations: 5.562 kB / 0.6681 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4191, allocations: 0 / 0.6681 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4192, allocations: 126.8 kB / 0.6682 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.4192, allocations: 86.23 kB / 0.6683 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.4192, allocations: 1.156 kB / 0.6683 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.4193, allocations: 1.062 kB / 0.6683 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.4193, allocations: 7.766 kB / 0.6683 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.4193, allocations: 5.5 kB / 0.6683 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.523e-05/0.4193, allocations: 80.91 kB / 0.6684 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4193, allocations: 0 / 0.6684 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002081/0.4196, allocations: 28.12 kB / 0.6684 GB, free: 3.988 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.0001736/0.4197, allocations: 132.5 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.4198, allocations: 44.06 kB / 0.6686 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4199, allocations: 1.469 kB / 0.6686 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.4199, allocations: 22.45 kB / 0.6686 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.42, allocations: 8.422 kB / 0.6686 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.4203, allocations: 142.3 kB / 0.6688 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.4204, allocations: 0.6841 MB / 0.6694 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.009e-05/0.4204, allocations: 11.62 kB / 0.6694 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.4204, allocations: 11.78 kB / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4204, allocations: 0 / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Performance of Templates: time 0.002684/0.4231, allocations: 0.8733 MB / 0.6703 GB, free: 2.535 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)