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.0008052/0.0008052, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009207/0.0009207, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9026/0.9026, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.716/0.716, allocations: 154.6 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.693e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001086/0.001103, allocations: 0.6157 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.001405, allocations: 147.4 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.001426, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.00144, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.02e-05/0.00146, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.001738, allocations: 39.83 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.271e-05/0.001791, allocations: 19.97 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.001832, allocations: 0 / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.001862, allocations: 11.94 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.001922, allocations: 7.984 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.001934, allocations: 7.938 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.001997, allocations: 31.95 kB / 0.619 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.00201, allocations: 4 kB / 0.619 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.463e-05/0.002025, allocations: 7.984 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.002123, allocations: 35.94 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002124, allocations: 3.938 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.62e-07/0.002125, allocations: 0 / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002128, allocations: 0 / 0.619 GB, free: 12.77 MB / 0.5886 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.0002897/0.002418, allocations: 254.3 kB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.002457, allocations: 9.469 kB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.002484, allocations: 30.75 kB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.002507, allocations: 8.938 kB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.09e-05/0.002578, allocations: 105.8 kB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.002591, allocations: 8.375 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.002612, allocations: 384 / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.002721, allocations: 67.95 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.002727, allocations: 192 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.002735, allocations: 384 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.00274, allocations: 4.125 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.002779, allocations: 19.92 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.002899, allocations: 132.7 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.002975, allocations: 46.62 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.003001, allocations: 20.97 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.626e-05/0.003067, allocations: 4 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.003087, allocations: 30.56 kB / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.003088, allocations: 3.938 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0009637/0.004052, allocations: 415.2 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.004085, allocations: 59.39 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.372e-05/0.004128, allocations: 93.86 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.004137, allocations: 25.7 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.082e-05/0.004158, allocations: 84.27 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.004184, allocations: 23.8 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.004212, allocations: 25.7 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.00428, allocations: 310.8 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.004301, allocations: 15.98 kB / 0.6207 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.004318, allocations: 12 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.004362, allocations: 32.86 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.004363, allocations: 0 / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.814e-05/0.004441, allocations: 85.48 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.004453, allocations: 4 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.004458, allocations: 0 / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.004471, allocations: 7.938 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.00453, allocations: 12 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.004535, allocations: 0 / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.004549, allocations: 4 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.004557, allocations: 4 kB / 0.6209 GB, free: 10.59 MB / 0.5886 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 5.449e-05/0.004611, allocations: 114.8 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.004618, allocations: 4 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.004737, allocations: 77.58 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.004739, allocations: 7.938 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.004744, allocations: 4 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.004748, allocations: 3.984 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.721e-05/0.004825, allocations: 136.7 kB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004826, allocations: 0 / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.004876, allocations: 12 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.004878, allocations: 0 / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.004884, allocations: 0 / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.004887, allocations: 7.938 kB / 0.6212 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.004888, allocations: 4.172 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.005016, allocations: 117.3 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.005025, allocations: 12.08 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.005035, allocations: 4 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.005059, allocations: 3.938 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.005074, allocations: 7.984 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.005078, allocations: 4 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.12e-05/0.005099, allocations: 79.28 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005099, allocations: 0 / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001493/0.005248, allocations: 27.94 kB / 0.6215 GB, free: 9.895 MB / 0.5886 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.0003786/0.005627, allocations: 0.6827 MB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.36e-05/0.005721, allocations: 40.14 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.005722, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.005747, allocations: 31.91 kB / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.005861, allocations: 10.06 kB / 0.6222 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.006859, allocations: 1.184 MB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.006898, allocations: 63.34 kB / 0.6234 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.006926, allocations: 12.05 kB / 0.6235 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.006955, allocations: 16.5 kB / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.006956, allocations: 0 / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.02218, allocations: 2.454 MB / 0.6259 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/6.953, allocations: 4.328 kB / 0.6259 GB, free: 5.461 MB / 0.5886 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.615301415324211] Failed to read output from testmodel.py, exit status != 0: 7.033831297419965 7.045824091 7.042040537 Calling exit ...