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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 196.5 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8768/0.8768, allocations: 134 MB / 436.6 MB, free: 1.266 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 75.95 kB / 0.6052 GB, free: 15.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 84.67 MB / 0.6878 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001851/0.162, allocations: 0.5983 MB / 0.6884 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004332/0.1624, allocations: 163.9 kB / 0.6886 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.1625, allocations: 3.938 kB / 0.6886 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.1625, allocations: 0 / 0.6886 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.379e-05/0.1625, allocations: 0 / 0.6886 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1628, allocations: 47.83 kB / 0.6886 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.647e-05/0.1629, allocations: 11.98 kB / 0.6886 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1629, allocations: 0 / 0.6886 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.1629, allocations: 11.94 kB / 0.6887 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.081e-05/0.163, allocations: 11.97 kB / 0.6887 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.163, allocations: 0 / 0.6887 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.1631, allocations: 35.97 kB / 0.6887 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.1631, allocations: 0 / 0.6887 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.1632, allocations: 15.92 kB / 0.6887 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1633, allocations: 32.11 kB / 0.6888 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1633, allocations: 0 / 0.6888 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1633, allocations: 0 / 0.6888 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1633, allocations: 0 / 0.6888 GB, free: 10.25 MB / 0.5137 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.0004419/0.1637, allocations: 331.5 kB / 0.6891 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1638, allocations: 8.031 kB / 0.6891 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.1638, allocations: 42.73 kB / 0.6891 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1638, allocations: 12.89 kB / 0.6891 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.164, allocations: 160.4 kB / 0.6893 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.164, allocations: 384 / 0.6893 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.164, allocations: 4.375 kB / 0.6893 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1641, allocations: 46.19 kB / 0.6893 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1641, allocations: 3.938 kB / 0.6893 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1641, allocations: 0 / 0.6893 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1642, allocations: 0 / 0.6893 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.1642, allocations: 19.97 kB / 0.6894 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.1644, allocations: 165.7 kB / 0.6895 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.1645, allocations: 38.56 kB / 0.6895 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.1645, allocations: 20.92 kB / 0.6896 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.1646, allocations: 85.09 kB / 0.6896 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1647, allocations: 30.56 kB / 0.6897 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1647, allocations: 4 kB / 0.6897 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.00138/0.166, allocations: 496.4 kB / 0.6902 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1661, allocations: 55.41 kB / 0.6902 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.1662, allocations: 93.84 kB / 0.6903 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1662, allocations: 25.7 kB / 0.6903 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.1662, allocations: 84.08 kB / 0.6904 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1663, allocations: 27.75 kB / 0.6904 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1663, allocations: 21.7 kB / 0.6904 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1665, allocations: 323 kB / 0.6908 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.1665, allocations: 8 kB / 0.6908 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.1665, allocations: 15.92 kB / 0.6908 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.1666, allocations: 36.86 kB / 0.6908 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1666, allocations: 0 / 0.6908 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001198/0.1667, allocations: 73.61 kB / 0.6909 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.1667, allocations: 8 kB / 0.6909 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1668, allocations: 3.984 kB / 0.6909 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1668, allocations: 0 / 0.6909 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.1669, allocations: 16 kB / 0.6909 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1669, allocations: 3.938 kB / 0.6909 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.1669, allocations: 0 / 0.6909 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1669, allocations: 4 kB / 0.6909 GB, free: 7.707 MB / 0.5137 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 9.445e-05/0.167, allocations: 109.8 kB / 0.691 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.167, allocations: 11.92 kB / 0.691 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.1672, allocations: 85.89 kB / 0.6911 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1672, allocations: 0 / 0.6911 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1672, allocations: 4 kB / 0.6911 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1672, allocations: 4 kB / 0.6911 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1674, allocations: 161.7 kB / 0.6913 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1674, allocations: 0 / 0.6913 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.1674, allocations: 19.86 kB / 0.6913 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1674, allocations: 4 kB / 0.6913 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1675, allocations: 4 kB / 0.6913 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1675, allocations: 0 / 0.6913 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1675, allocations: 0 / 0.6913 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.1677, allocations: 109.1 kB / 0.6914 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.1677, allocations: 89.03 kB / 0.6915 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1677, allocations: 0 / 0.6915 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.1678, allocations: 4 kB / 0.6915 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.1678, allocations: 11.92 kB / 0.6915 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1678, allocations: 8.062 kB / 0.6915 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001045/0.1679, allocations: 79.22 kB / 0.6916 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1679, allocations: 3.938 kB / 0.6916 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002257/0.1681, allocations: 36.09 kB / 0.6916 GB, free: 6.863 MB / 0.5137 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.0006301/0.1687, allocations: 0.6787 MB / 0.6923 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1689, allocations: 39.91 kB / 0.6923 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1689, allocations: 4 kB / 0.6923 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.1689, allocations: 16 kB / 0.6924 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1691, allocations: 4.062 kB / 0.6924 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1704, allocations: 1.199 MB / 0.6935 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1707, allocations: 0.6807 MB / 0.6942 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.23e-05/0.1708, allocations: 8.609 kB / 0.6942 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.1708, allocations: 15.98 kB / 0.6942 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of SimCode: time 6.52e-07/0.1708, allocations: 0 / 0.6942 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.1981, allocations: 1.82 MB / 0.696 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.226, allocations: 8.062 kB / 0.696 GB, free: 2.414 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.796804981771857] Failed to read output from testmodel.py, exit status != 0: 8.294269507750869 8.322076573 8.153868096 Calling exit ...