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.0007567/0.0007567, allocations: 100.4 kB / 19.7 MB, free: 0.5664 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.0008755/0.0008755, allocations: 208.6 kB / 23 MB, free: 3.07 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.9141/0.9141, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7565/0.7565, allocations: 203.8 MB / 0.5049 GB, free: 10.45 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: 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: 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.0008729/0.0008729, allocations: 76.8 kB / 0.7194 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4588, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.001754/0.4606, allocations: 1.484 MB / 0.8205 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.4615, allocations: 0.7714 MB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.4616, allocations: 0 / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.4618, allocations: 133.6 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.4622, allocations: 187.4 kB / 0.8215 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.4623, allocations: 77.36 kB / 0.8216 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.4624, allocations: 69.55 kB / 0.8217 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.4625, allocations: 11.97 kB / 0.8217 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.4626, allocations: 48.61 kB / 0.8217 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.4627, allocations: 84.53 kB / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.4627, allocations: 2.406 kB / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.463, allocations: 239.6 kB / 0.822 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4631, allocations: 108.9 kB / 0.8221 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.4631, allocations: 57.25 kB / 0.8222 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.4635, allocations: 334 kB / 0.8225 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4635, allocations: 4.562 kB / 0.8225 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4635, allocations: 0 / 0.8225 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4635, allocations: 1.281 kB / 0.8225 GB, free: 15.45 MB / 0.6198 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.0006013/0.4641, allocations: 0.504 MB / 0.823 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4642, allocations: 9.688 kB / 0.823 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.4642, allocations: 33.03 kB / 0.8231 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.4645, allocations: 325.9 kB / 0.8234 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4645, allocations: 384 / 0.8234 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.4645, allocations: 2.344 kB / 0.8234 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4647, allocations: 86.59 kB / 0.8234 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.4647, allocations: 0 / 0.8234 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4647, allocations: 0 / 0.8234 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4647, allocations: 1.094 kB / 0.8234 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.4648, allocations: 106.6 kB / 0.8236 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.4653, allocations: 401.9 kB / 0.8239 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.4654, allocations: 106.5 kB / 0.824 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.4655, allocations: 55.52 kB / 0.8241 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.4655, allocations: 23.39 kB / 0.8241 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.4656, allocations: 32.28 kB / 0.8241 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4656, allocations: 0 / 0.8241 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003021/0.4659, allocations: 213.2 kB / 0.8243 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.4659, allocations: 53.3 kB / 0.8244 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.4663, allocations: 0.5358 MB / 0.8249 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4663, allocations: 29.7 kB / 0.8249 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.4664, allocations: 162.3 kB / 0.8251 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.4664, allocations: 7.297 kB / 0.8251 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.4665, allocations: 39.97 kB / 0.8251 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.4665, allocations: 343.1 kB / 0.8255 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4667, allocations: 101 kB / 0.8256 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.4667, allocations: 94.48 kB / 0.8257 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.4669, allocations: 176.6 kB / 0.8258 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4669, allocations: 1.438 kB / 0.8258 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002664/0.4672, allocations: 272.4 kB / 0.8261 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4672, allocations: 6.281 kB / 0.8261 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4672, allocations: 1.188 kB / 0.8261 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4672, allocations: 4 kB / 0.8261 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.4673, allocations: 27.64 kB / 0.8261 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4673, allocations: 1.312 kB / 0.8261 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.4674, allocations: 14.22 kB / 0.8261 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4674, allocations: 2.438 kB / 0.8261 GB, free: 13.32 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 (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.0001128/0.4675, allocations: 172.9 kB / 0.8263 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.4675, allocations: 37.36 kB / 0.8263 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.4677, allocations: 170.4 kB / 0.8265 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4677, allocations: 0 / 0.8265 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4678, allocations: 1.625 kB / 0.8265 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4678, allocations: 4.688 kB / 0.8265 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.4679, allocations: 214.8 kB / 0.8267 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4679, allocations: 4.594 kB / 0.8267 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.468, allocations: 13.59 kB / 0.8267 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.468, allocations: 0.5625 kB / 0.8267 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.468, allocations: 0 / 0.8267 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.468, allocations: 1.891 kB / 0.8267 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.468, allocations: 4.031 kB / 0.8267 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.4682, allocations: 253.2 kB / 0.827 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.4682, allocations: 41.92 kB / 0.827 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4682, allocations: 0 / 0.827 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.4683, allocations: 6.969 kB / 0.827 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.4683, allocations: 6.859 kB / 0.827 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4683, allocations: 0.9375 kB / 0.827 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000311/0.4686, allocations: 397.2 kB / 0.8274 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4686, allocations: 4.031 kB / 0.8274 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002561/0.4689, allocations: 82.09 kB / 0.8275 GB, free: 12.59 MB / 0.6198 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.0002014/0.4691, allocations: 160 kB / 0.8277 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4693, allocations: 158.7 kB / 0.8278 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4693, allocations: 0 / 0.8278 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.4694, allocations: 52.33 kB / 0.8279 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4696, allocations: 27.72 kB / 0.8279 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.4703, allocations: 0.5199 MB / 0.8284 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.4704, allocations: 166.1 kB / 0.8285 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.4705, allocations: 17.91 kB / 0.8286 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/0.4705, allocations: 0 / 0.8286 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.00456/0.475, allocations: 3.471 MB / 0.832 GB, free: 11.7 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.659713007044047] Failed to read output from testmodel.py, exit status != 0: 0.4803474307991564 0.48985617600000003 0.024508305 Calling exit ...