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.0008249/0.0008249, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008143/0.0008143, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8618/0.8618, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.7028/0.7028, allocations: 154.5 MB / 414.5 MB, free: 0.8359 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: 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.352e-06/1.352e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.044e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.001696/0.001716, allocations: 1.488 MB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.002641, allocations: 0.7635 MB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.00268, allocations: 0 / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.002884, allocations: 131.7 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.003353, allocations: 187.5 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.003463, allocations: 75.73 kB / 0.6219 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.003549, allocations: 71.8 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.00363, allocations: 4 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.003682, allocations: 47.92 kB / 0.622 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.003775, allocations: 91.83 kB / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.003788, allocations: 4 kB / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.004067, allocations: 239.6 kB / 0.6223 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.004172, allocations: 103.8 kB / 0.6224 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.004215, allocations: 47.78 kB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.004533, allocations: 351 kB / 0.6228 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004535, allocations: 0 / 0.6228 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004536, allocations: 0 / 0.6228 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.004541, allocations: 0 / 0.6228 GB, free: 9.641 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005225/0.005063, allocations: 0.4963 MB / 0.6233 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.005097, allocations: 17.47 kB / 0.6233 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.005141, allocations: 36.7 kB / 0.6233 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.005396, allocations: 328 kB / 0.6236 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.005405, allocations: 384 / 0.6236 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.005415, allocations: 384 / 0.6236 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005542, allocations: 82.22 kB / 0.6237 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.005548, allocations: 192 / 0.6237 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005556, allocations: 384 / 0.6237 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.005563, allocations: 7.938 kB / 0.6237 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.005683, allocations: 107.9 kB / 0.6238 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.006061, allocations: 400.5 kB / 0.6242 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.006174, allocations: 98.53 kB / 0.6243 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.006235, allocations: 56.89 kB / 0.6243 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.006271, allocations: 19.98 kB / 0.6244 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.006289, allocations: 42.44 kB / 0.6244 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00629, allocations: 0 / 0.6244 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002719/0.006562, allocations: 213.3 kB / 0.6246 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.00659, allocations: 51.41 kB / 0.6247 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.006962, allocations: 0.5405 MB / 0.6252 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.006974, allocations: 29.7 kB / 0.6252 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.007053, allocations: 160 kB / 0.6254 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.007067, allocations: 7.891 kB / 0.6254 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.007109, allocations: 41.7 kB / 0.6254 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.007207, allocations: 342.8 kB / 0.6257 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.007304, allocations: 100 kB / 0.6258 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.522e-05/0.007389, allocations: 91.94 kB / 0.6259 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.007552, allocations: 176.7 kB / 0.6261 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.007555, allocations: 0 / 0.6261 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000235/0.00779, allocations: 276.1 kB / 0.6264 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.007803, allocations: 9.969 kB / 0.6264 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007807, allocations: 8 kB / 0.6264 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.007819, allocations: 3.938 kB / 0.6264 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.007906, allocations: 23.98 kB / 0.6264 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007911, allocations: 4 kB / 0.6264 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.00795, allocations: 11.98 kB / 0.6264 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.007956, allocations: 3.938 kB / 0.6264 GB, free: 5.746 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 (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 9.45e-05/0.00805, allocations: 162.8 kB / 0.6266 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.008079, allocations: 39.73 kB / 0.6266 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.008261, allocations: 163.9 kB / 0.6268 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008263, allocations: 0 / 0.6268 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.008268, allocations: 4 kB / 0.6268 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.00827, allocations: 0 / 0.6268 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.008413, allocations: 213.2 kB / 0.627 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.008414, allocations: 0 / 0.627 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.008437, allocations: 11.94 kB / 0.627 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008439, allocations: 0 / 0.627 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.008448, allocations: 7.922 kB / 0.627 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008449, allocations: 8.031 kB / 0.627 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.008451, allocations: 4 kB / 0.627 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.00862, allocations: 255.3 kB / 0.6272 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.008663, allocations: 35.81 kB / 0.6273 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.008679, allocations: 7.922 kB / 0.6273 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.008724, allocations: 4 kB / 0.6273 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.008755, allocations: 3.984 kB / 0.6273 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.008757, allocations: 0 / 0.6273 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002618/0.009019, allocations: 403.1 kB / 0.6277 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.009019, allocations: 3.938 kB / 0.6277 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002368/0.009256, allocations: 87.81 kB / 0.6278 GB, free: 4.297 MB / 0.5886 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.0002001/0.009456, allocations: 159.1 kB / 0.6279 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.009658, allocations: 159.8 kB / 0.6281 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009659, allocations: 0 / 0.6281 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.009717, allocations: 51.97 kB / 0.6281 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.009938, allocations: 30.78 kB / 0.6282 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.01049, allocations: 0.5211 MB / 0.6287 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.0106, allocations: 161.5 kB / 0.6288 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.01063, allocations: 20.5 kB / 0.6288 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.01063, allocations: 0 / 0.6288 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of Templates: time 0.003883/0.01452, allocations: 3.462 MB / 0.6322 GB, free: 15.72 MB / 0.6042 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.265922531485558] Failed to read output from testmodel.py, exit status != 0: 0.01948876865208149 0.027106039000000002 0.020970104 Calling exit ...