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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 211.5 kB / 22.24 MB, free: 3.594 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9382/0.9382, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7791/0.7791, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009464/0.0009464, allocations: 71.16 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5326, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001348/0.5339, allocations: 0.6139 MB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003436/0.5343, allocations: 137 kB / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.5343, allocations: 0 / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.5343, allocations: 4.781 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.956e-05/0.5343, allocations: 4 kB / 0.8186 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.5346, allocations: 43.11 kB / 0.8186 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.371e-05/0.5347, allocations: 9.219 kB / 0.8186 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.5347, allocations: 8.266 kB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.87e-05/0.5348, allocations: 19.31 kB / 0.8187 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.5348, allocations: 5.359 kB / 0.8187 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.5348, allocations: 0 / 0.8187 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.933e-05/0.5349, allocations: 34.53 kB / 0.8187 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.5349, allocations: 4.875 kB / 0.8187 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.535, allocations: 5.766 kB / 0.8187 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.5351, allocations: 34.59 kB / 0.8187 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5351, allocations: 4 kB / 0.8187 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5351, allocations: 1.781 kB / 0.8187 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5351, allocations: 0 / 0.8187 GB, free: 0.5 MB / 0.6042 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.0002954/0.5354, allocations: 257.4 kB / 0.819 GB, free: 240 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5354, allocations: 8.844 kB / 0.819 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.5354, allocations: 31.75 kB / 0.819 GB, free: 200 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.5355, allocations: 4.734 kB / 0.819 GB, free: 200 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.14e-05/0.5355, allocations: 103.1 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5355, allocations: 8.422 kB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.5356, allocations: 384 / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5357, allocations: 73.64 kB / 0.8192 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5357, allocations: 7.875 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5357, allocations: 4.688 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.5357, allocations: 0 / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.5358, allocations: 16.84 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.5359, allocations: 132.9 kB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/0.536, allocations: 46.8 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.5361, allocations: 18.38 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.5361, allocations: 3.703 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5362, allocations: 40.94 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.5362, allocations: 4 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0009281/0.5371, allocations: 412.3 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.5371, allocations: 53 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.5372, allocations: 97.02 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.5372, allocations: 28.58 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.5372, allocations: 80.14 kB / 0.8201 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.5372, allocations: 23.12 kB / 0.8201 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.5373, allocations: 21.3 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.5373, allocations: 314.7 kB / 0.8205 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.5374, allocations: 18.45 kB / 0.8205 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.5374, allocations: 12.33 kB / 0.8205 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.5374, allocations: 46.16 kB / 0.8205 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5374, allocations: 0 / 0.8205 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.965e-05/0.5375, allocations: 68.73 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5375, allocations: 5.125 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5375, allocations: 2.781 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5376, allocations: 0.7969 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.5376, allocations: 12.03 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5376, allocations: 0.6094 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.5376, allocations: 5.25 kB / 0.8206 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.5376, allocations: 6.641 kB / 0.8206 GB, free: 14.68 MB / 0.6198 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.408e-05/0.5377, allocations: 116.3 kB / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.5377, allocations: 7.469 kB / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.5379, allocations: 76.38 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5379, allocations: 0 / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5379, allocations: 1.281 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5379, allocations: 0.6562 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.349e-05/0.538, allocations: 136.5 kB / 0.8209 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.538, allocations: 0.7031 kB / 0.8209 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.538, allocations: 25.06 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.538, allocations: 3.938 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.538, allocations: 4.016 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.538, allocations: 0 / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.538, allocations: 0 / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.5382, allocations: 115.5 kB / 0.8211 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.5382, allocations: 11.3 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.5382, allocations: 0.75 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.5382, allocations: 4.062 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.5382, allocations: 11.06 kB / 0.8211 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5382, allocations: 5.875 kB / 0.8211 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.447e-05/0.5383, allocations: 76 kB / 0.8212 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5383, allocations: 0 / 0.8212 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001572/0.5384, allocations: 30.36 kB / 0.8212 GB, free: 14.14 MB / 0.6198 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.0004326/0.5389, allocations: 0.6827 MB / 0.8219 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.539, allocations: 39.38 kB / 0.8219 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.539, allocations: 3.875 kB / 0.8219 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.539, allocations: 18.62 kB / 0.8219 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.5391, allocations: 10.33 kB / 0.822 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.54, allocations: 1.199 MB / 0.8231 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.54, allocations: 63.61 kB / 0.8232 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.5401, allocations: 8.266 kB / 0.8232 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.5401, allocations: 17.05 kB / 0.8232 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5401, allocations: 3.938 kB / 0.8232 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.558, allocations: 2.303 MB / 0.8255 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/7.264, allocations: 10.53 kB / 0.8255 GB, free: 11.41 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.161064053885639] Failed to read output from testmodel.py, exit status != 0: 7.34470453299582 7.362370028 6.8241468339999996 Calling exit ...