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.001093/0.001093, 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.0007922/0.0007922, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9943/0.9943, allocations: 230.6 MB / 256 MB, free: 9.809 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.8061/0.8061, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.0009243/0.0009243, allocations: 66.58 kB / 0.7183 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5431, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001409/0.5445, allocations: 0.6104 MB / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.5448, allocations: 152.3 kB / 0.8187 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.5448, allocations: 0 / 0.8187 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.5449, allocations: 3.938 kB / 0.8187 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.52e-05/0.5449, allocations: 3.938 kB / 0.8187 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.5452, allocations: 43.81 kB / 0.8187 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.5453, allocations: 16.42 kB / 0.8187 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/0.5453, allocations: 7.297 kB / 0.8187 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.5454, allocations: 16.34 kB / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.5454, allocations: 11.75 kB / 0.8188 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.5455, allocations: 1.875 kB / 0.8188 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.5455, allocations: 32.39 kB / 0.8188 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.5455, allocations: 1.562 kB / 0.8188 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.5456, allocations: 7 kB / 0.8188 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.5457, allocations: 37.25 kB / 0.8188 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.5457, allocations: 0 / 0.8188 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5457, allocations: 0 / 0.8188 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.5457, allocations: 0 / 0.8188 GB, free: 0.6836 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.0003247/0.546, allocations: 259.1 kB / 0.8191 GB, free: 424 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5461, allocations: 10.25 kB / 0.8191 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.5461, allocations: 31.78 kB / 0.8191 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.5461, allocations: 2.688 kB / 0.8191 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.5462, allocations: 108.9 kB / 0.8192 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.5462, allocations: 8.219 kB / 0.8192 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.5462, allocations: 384 / 0.8192 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.5463, allocations: 44.75 kB / 0.8193 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5463, allocations: 7.875 kB / 0.8193 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.5463, allocations: 4 kB / 0.8193 GB, free: 200 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5464, allocations: 0 / 0.8193 GB, free: 200 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.5464, allocations: 14.67 kB / 0.8193 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.5465, allocations: 138.3 kB / 0.8194 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.5466, allocations: 42.77 kB / 0.8195 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.5467, allocations: 20.53 kB / 0.8195 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.628e-05/0.5467, allocations: 4.141 kB / 0.8195 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.5468, allocations: 43.16 kB / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.5468, allocations: 0 / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0009504/0.5477, allocations: 408.3 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.5478, allocations: 55.95 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.5478, allocations: 97.39 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5478, allocations: 26.41 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/0.5479, allocations: 84.27 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.5479, allocations: 21.58 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.5479, allocations: 22.84 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.548, allocations: 311.9 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.548, allocations: 13.14 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.5481, allocations: 18.3 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.5481, allocations: 39.92 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5481, allocations: 0 / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.693e-05/0.5482, allocations: 80.94 kB / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5482, allocations: 3.969 kB / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5482, allocations: 0 / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5482, allocations: 0 / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.5483, allocations: 13.66 kB / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5483, allocations: 0 / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.5483, allocations: 7.609 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.5483, allocations: 0 / 0.8207 GB, free: 14.89 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.53e-05/0.5484, allocations: 119.4 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.5484, allocations: 4.688 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.5486, allocations: 81.28 kB / 0.8209 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5486, allocations: 0 / 0.8209 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5486, allocations: 0.5625 kB / 0.8209 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5486, allocations: 0.6094 kB / 0.8209 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.788e-05/0.5487, allocations: 137.7 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5487, allocations: 2.781 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.5487, allocations: 23.27 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5487, allocations: 2.375 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.5487, allocations: 4.609 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5487, allocations: 4 kB / 0.821 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5487, allocations: 2.375 kB / 0.8211 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.5489, allocations: 113.4 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.5489, allocations: 15.14 kB / 0.8212 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.5489, allocations: 0.6562 kB / 0.8212 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.588e-05/0.5489, allocations: 6.219 kB / 0.8212 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.5489, allocations: 3.891 kB / 0.8212 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.549, allocations: 9.219 kB / 0.8212 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.549, allocations: 75.28 kB / 0.8213 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.549, allocations: 0 / 0.8213 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001503/0.5491, allocations: 33.7 kB / 0.8213 GB, free: 14.34 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.0004092/0.5495, allocations: 0.6735 MB / 0.822 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.5496, allocations: 49.72 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5496, allocations: 0 / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.5497, allocations: 15.73 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.5498, allocations: 14.02 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.5506, allocations: 1.204 MB / 0.8232 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.5508, allocations: 0.6797 MB / 0.8239 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.5508, allocations: 9.609 kB / 0.8239 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.5509, allocations: 17.23 kB / 0.8239 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.5509, allocations: 0 / 0.8239 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.5689, allocations: 1.93 MB / 0.8258 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.543/7.112, allocations: 8.156 kB / 0.8258 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.252493805950508] Failed to read output from testmodel.py, exit status != 0: 7.1959844110533595 7.213264915 6.6653873 Calling exit ...