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.0008354/0.0008354, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009248/0.0009248, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.9688/0.9688, allocations: 230.6 MB / 256 MB, free: 9.793 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.8053/0.8053, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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.001009/0.001009, allocations: 66.52 kB / 0.7183 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5551, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001274/0.5563, allocations: 0.6118 MB / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.5566, allocations: 155.8 kB / 0.8186 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.5567, allocations: 2.219 kB / 0.8187 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.5567, allocations: 0 / 0.8187 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.229e-05/0.5567, allocations: 3.938 kB / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.557, allocations: 38.78 kB / 0.8187 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.5571, allocations: 21.47 kB / 0.8187 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.5571, allocations: 9.531 kB / 0.8187 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.5571, allocations: 6.516 kB / 0.8187 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.5572, allocations: 12.34 kB / 0.8187 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.5572, allocations: 0 / 0.8187 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.5573, allocations: 32.39 kB / 0.8188 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.5573, allocations: 6.828 kB / 0.8188 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.5573, allocations: 11.05 kB / 0.8188 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.5574, allocations: 30.52 kB / 0.8188 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5574, allocations: 0 / 0.8188 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5574, allocations: 0 / 0.8188 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.5574, allocations: 4 kB / 0.8188 GB, free: 0.7031 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.0003013/0.5577, allocations: 255.6 kB / 0.8191 GB, free: 448 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5578, allocations: 10.31 kB / 0.8191 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.5578, allocations: 33.77 kB / 0.8191 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.5578, allocations: 5.719 kB / 0.8191 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.621e-05/0.5579, allocations: 109.9 kB / 0.8192 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.5579, allocations: 1.594 kB / 0.8192 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.5579, allocations: 2.688 kB / 0.8192 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.558, allocations: 48.95 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.558, allocations: 7.531 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.558, allocations: 0 / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.558, allocations: 4.781 kB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.5581, allocations: 18.17 kB / 0.8193 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.5582, allocations: 131.9 kB / 0.8194 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.326e-05/0.5583, allocations: 44.33 kB / 0.8195 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.5583, allocations: 18.67 kB / 0.8195 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.167e-05/0.5584, allocations: 7.922 kB / 0.8195 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5584, allocations: 35.81 kB / 0.8195 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.5584, allocations: 0.625 kB / 0.8195 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0009462/0.5594, allocations: 416.4 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5594, allocations: 56.94 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.5594, allocations: 98.92 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5595, allocations: 25.7 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.5595, allocations: 80.14 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.5595, allocations: 25.33 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.5595, allocations: 19.56 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.5596, allocations: 317.7 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.5597, allocations: 9.406 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.5597, allocations: 13.28 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.5597, allocations: 39.38 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5597, allocations: 4 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.247e-05/0.5598, allocations: 81.41 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5598, allocations: 3.656 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5598, allocations: 0.9062 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5599, allocations: 0.6094 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.5599, allocations: 14.66 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5599, allocations: 0 / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.56, allocations: 0.6562 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.56, allocations: 2.188 kB / 0.8207 GB, free: 14.91 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.546e-05/0.56, allocations: 116.5 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.56, allocations: 6.891 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.5602, allocations: 88.47 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5602, allocations: 2.5 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5602, allocations: 0 / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5602, allocations: 0.75 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.56e-05/0.5603, allocations: 133 kB / 0.821 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5603, allocations: 8.078 kB / 0.821 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.5604, allocations: 15.42 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5604, allocations: 4.844 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.5604, allocations: 4 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5604, allocations: 1.094 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5604, allocations: 0.9844 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.5605, allocations: 118 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.5605, allocations: 14.06 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.5605, allocations: 2.062 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.5606, allocations: 5.375 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.5606, allocations: 9.453 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.5606, allocations: 3.312 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.588e-05/0.5606, allocations: 75.89 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5606, allocations: 0 / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000149/0.5608, allocations: 31.56 kB / 0.8213 GB, free: 14.36 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.0003816/0.5611, allocations: 0.6773 MB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.5612, allocations: 37.56 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5612, allocations: 0 / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.5613, allocations: 22.09 kB / 0.822 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.5614, allocations: 6.812 kB / 0.822 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.5622, allocations: 1.198 MB / 0.8232 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.5624, allocations: 0.6795 MB / 0.8239 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.5624, allocations: 11.38 kB / 0.8239 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.5625, allocations: 12.58 kB / 0.8239 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5625, allocations: 0 / 0.8239 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.5805, allocations: 1.962 MB / 0.8258 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/7.017, allocations: 1.906 kB / 0.8258 GB, free: 11.43 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: 9.992691678926349] Failed to read output from testmodel.py, exit status != 0: 7.094601910095662 7.11004308 6.549853229 Calling exit ...