Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001086/0.001086, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001101/0.001101, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 1.074/1.074, allocations: 177.1 MB / 204.5 MB, free: 5.523 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-535:34: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-535:42: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.7924/0.7924, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.522 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.591e-05, allocations: 2.312 kB / 0.522 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001039/0.001055, allocations: 0.6212 MB / 0.5226 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.002647, allocations: 1.458 MB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.002678, allocations: 3.938 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.603e-05/0.002734, allocations: 4.609 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.00278, allocations: 9.562 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.00338, allocations: 216.5 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.003449, allocations: 31.97 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.003485, allocations: 4.812 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.003522, allocations: 19.98 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.003564, allocations: 23.89 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.003576, allocations: 5.281 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.003888, allocations: 259.6 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.003917, allocations: 7.922 kB / 0.5246 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.003941, allocations: 12.72 kB / 0.5246 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.004198, allocations: 271.3 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004199, allocations: 0.5938 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.11e-07/0.0042, allocations: 0.9375 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.004204, allocations: 0 / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003848/0.004588, allocations: 426 kB / 0.5252 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.004622, allocations: 12.56 kB / 0.5252 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.004658, allocations: 9.453 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.004745, allocations: 124.5 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.004755, allocations: 5.094 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.004762, allocations: 4.375 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.004855, allocations: 79.06 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.004862, allocations: 192 / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.004868, allocations: 384 / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004874, allocations: 3.938 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.0049, allocations: 41.69 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.175e-05/0.004982, allocations: 101.3 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.005037, allocations: 76.69 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.005066, allocations: 49.41 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.005069, allocations: 0.9688 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.00509, allocations: 37.38 kB / 0.5258 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.00509, allocations: 0.5312 kB / 0.5258 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001836/0.005274, allocations: 183.7 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.005308, allocations: 81.11 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.005379, allocations: 174.1 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.00539, allocations: 31.3 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.00543, allocations: 130.9 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.005459, allocations: 31.7 kB / 0.5264 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.005489, allocations: 27.38 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.005622, allocations: 0.4971 MB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.005669, allocations: 41.69 kB / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.005694, allocations: 37.69 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.336e-05/0.005758, allocations: 97.2 kB / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005759, allocations: 0 / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003874/0.006147, allocations: 141 kB / 0.5272 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.006173, allocations: 37.69 kB / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006177, allocations: 0 / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.006185, allocations: 0.75 kB / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.006187, allocations: 0 / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.006189, allocations: 4.656 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.00623, allocations: 11.92 kB / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.006247, allocations: 12.81 kB / 0.5272 GB, free: 11.79 MB / 0.4948 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.637e-05/0.006324, allocations: 190.3 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.006336, allocations: 13.39 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.089e-05/0.006347, allocations: 4.438 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006348, allocations: 0 / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.00635, allocations: 0 / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006353, allocations: 5.375 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.427e-05/0.006418, allocations: 105.2 kB / 0.5275 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006418, allocations: 0 / 0.5275 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.006419, allocations: 4 kB / 0.5275 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.00642, allocations: 2.75 kB / 0.5275 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.006427, allocations: 4 kB / 0.5275 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006428, allocations: 3.938 kB / 0.5276 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006429, allocations: 3.984 kB / 0.5276 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.006565, allocations: 195.7 kB / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-06/0.006571, allocations: 3.938 kB / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.00658, allocations: 4 kB / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.006596, allocations: 6.219 kB / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.006611, allocations: 11.98 kB / 0.5278 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.006617, allocations: 4 kB / 0.5278 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.006653, allocations: 127.2 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006653, allocations: 0 / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002196/0.006872, allocations: 75.86 kB / 0.528 GB, free: 10.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000204/0.007076, allocations: 172.7 kB / 0.5281 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.007217, allocations: 178.4 kB / 0.5283 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.007218, allocations: 0.6562 kB / 0.5283 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-05/0.007273, allocations: 132.2 kB / 0.5284 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.00737, allocations: 11.98 kB / 0.5284 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001826/0.007553, allocations: 179.8 kB / 0.5286 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.007581, allocations: 59.34 kB / 0.5287 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.187e-06/0.007585, allocations: 4 kB / 0.5287 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.007646, allocations: 82.2 kB / 0.5287 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.007646, allocations: 0 / 0.5287 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.00365/0.0113, allocations: 2.423 MB / 0.5311 GB, free: 7.75 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8244278500787914]