Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.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.001752/0.001752, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 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.001941/0.001941, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.658/1.658, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.375/1.375, allocations: 154.8 MB / 414.4 MB, free: 484 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 178] 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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate") translateModel(IDEAS.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.776e-05, allocations: 5.266 kB / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.003249/0.003286, allocations: 1.494 MB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.004955, allocations: 0.7843 MB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.005005, allocations: 3.938 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.005336, allocations: 135.7 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006571/0.005993, allocations: 181.2 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.006195, allocations: 76.66 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.006314, allocations: 69.28 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.006394, allocations: 3.984 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.006483, allocations: 51.88 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.006629, allocations: 83.83 kB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.006647, allocations: 0.9375 kB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.007133, allocations: 247.5 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.007289, allocations: 104.7 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.007362, allocations: 43.8 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.007911, allocations: 351 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.007914, allocations: 1.562 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.007916, allocations: 0 / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.007929, allocations: 0 / 0.5234 GB, free: 14.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009438/0.008872, allocations: 0.6037 MB / 0.524 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.008921, allocations: 8.844 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.009007, allocations: 40.69 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.009376, allocations: 240.2 kB / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.00939, allocations: 384 / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.009398, allocations: 384 / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.009558, allocations: 55.52 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.009568, allocations: 192 / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.009577, allocations: 384 / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.009584, allocations: 3.938 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.009696, allocations: 24.7 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.01031, allocations: 381.4 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.01043, allocations: 35.06 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.0105, allocations: 23.67 kB / 0.5247 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-05/0.01057, allocations: 26.3 kB / 0.5248 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.01061, allocations: 37.33 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.01061, allocations: 0 / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.01096, allocations: 97.44 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.01101, allocations: 53.94 kB / 0.525 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.01158, allocations: 478.7 kB / 0.5254 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.01161, allocations: 25.7 kB / 0.5254 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.01183, allocations: 222.8 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.01185, allocations: 15.94 kB / 0.5257 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.01193, allocations: 43.38 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003259/0.01226, allocations: 0.5313 MB / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.01235, allocations: 30.67 kB / 0.5263 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.01242, allocations: 23.98 kB / 0.5263 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.01258, allocations: 65.64 kB / 0.5263 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.01258, allocations: 0 / 0.5263 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002856/0.01287, allocations: 146.9 kB / 0.5265 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.01288, allocations: 11.25 kB / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01289, allocations: 0 / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.01291, allocations: 0 / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.01305, allocations: 36.86 kB / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01305, allocations: 0 / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.01311, allocations: 4 kB / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.01312, allocations: 0.9375 kB / 0.5265 GB, free: 11.3 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 (15): * Single equations (assignments): 15 * 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 0.0001401/0.01326, allocations: 161.1 kB / 0.5267 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.01331, allocations: 31.75 kB / 0.5267 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.01354, allocations: 93.77 kB / 0.5268 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01354, allocations: 0 / 0.5268 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01355, allocations: 0 / 0.5268 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01355, allocations: 0 / 0.5268 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.01387, allocations: 229.2 kB / 0.527 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01387, allocations: 0.6562 kB / 0.527 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.01391, allocations: 7.984 kB / 0.527 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.01392, allocations: 9.156 kB / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01393, allocations: 3.938 kB / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01393, allocations: 0 / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01393, allocations: 2.438 kB / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.01422, allocations: 227.7 kB / 0.5273 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.01432, allocations: 39.75 kB / 0.5273 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01435, allocations: 3.938 kB / 0.5273 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.01443, allocations: 7.984 kB / 0.5273 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.01447, allocations: 11.02 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.01447, allocations: 0 / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003529/0.01483, allocations: 307.1 kB / 0.5276 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01483, allocations: 0 / 0.5276 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000371/0.0152, allocations: 83.86 kB / 0.5277 GB, free: 10.05 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 (2): * Single equations (assignments): 2 * 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.0003344/0.01553, allocations: 155.1 kB / 0.5278 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.0158, allocations: 80.11 kB / 0.5279 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0158, allocations: 1.438 kB / 0.5279 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.755e-05/0.01587, allocations: 19.69 kB / 0.5279 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01617, allocations: 20.78 kB / 0.528 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007908/0.01696, allocations: 459.6 kB / 0.5284 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.01716, allocations: 162.3 kB / 0.5286 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.01721, allocations: 19.14 kB / 0.5286 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.01726, allocations: 25.98 kB / 0.5286 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01726, allocations: 0 / 0.5286 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.007614/0.02487, allocations: 2.872 MB / 0.5314 GB, free: 6.324 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.324158522998914]