Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.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.001439/0.001439, allocations: 77.33 kB / 19.18 MB, free: 2.512 MB / 14.72 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.001498/0.001498, allocations: 161.2 kB / 22.46 MB, free: 5.391 MB / 14.72 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 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-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 1.218/1.218, allocations: 154.5 MB / 413.7 MB, free: 5.281 MB / 382.1 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.101e-05, allocations: 3.656 kB / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002706/0.002737, allocations: 1.448 MB / 0.6199 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.003038, allocations: 95.62 kB / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.003071, allocations: 0 / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.18e-05/0.003133, allocations: 0 / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/0.003173, allocations: 11.88 kB / 0.62 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.003408, allocations: 15.97 kB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.003485, allocations: 24.42 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.003565, allocations: 4.719 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.003607, allocations: 11.98 kB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.003646, allocations: 15.98 kB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003661, allocations: 0 / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.003742, allocations: 19.97 kB / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.003781, allocations: 7.938 kB / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.003803, allocations: 8 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003918, allocations: 35.88 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00392, allocations: 0 / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00392, allocations: 0 / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003924, allocations: 0 / 0.6202 GB, free: 2.914 MB / 0.5294 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.0004493/0.004373, allocations: 278.1 kB / 0.6204 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.004425, allocations: 17.47 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.004459, allocations: 0.9375 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.004582, allocations: 109.8 kB / 0.6206 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.004594, allocations: 384 / 0.6206 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.004603, allocations: 384 / 0.6206 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.004797, allocations: 54.23 kB / 0.6206 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.004807, allocations: 192 / 0.6206 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.004815, allocations: 384 / 0.6206 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.004818, allocations: 384 / 0.6206 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.005007, allocations: 47.89 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.005319, allocations: 204.5 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.005466, allocations: 38.56 kB / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.005568, allocations: 28.89 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.005603, allocations: 0 / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.005641, allocations: 38.56 kB / 0.621 GB, free: 2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.005642, allocations: 0 / 0.621 GB, free: 2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003808/0.006022, allocations: 93.52 kB / 0.6211 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.006071, allocations: 51.41 kB / 0.6211 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.00617, allocations: 109.8 kB / 0.6212 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.006188, allocations: 25.7 kB / 0.6212 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.006247, allocations: 80.14 kB / 0.6213 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.006268, allocations: 7.953 kB / 0.6213 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.006302, allocations: 13.72 kB / 0.6213 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.00646, allocations: 318.8 kB / 0.6216 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.006551, allocations: 24.05 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.006631, allocations: 15.98 kB / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.006806, allocations: 44.81 kB / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.006807, allocations: 0 / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002223/0.00703, allocations: 73.66 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.007044, allocations: 8.031 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.007051, allocations: 3.938 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.007066, allocations: 0 / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.007161, allocations: 11.98 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007165, allocations: 0 / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.007215, allocations: 11.89 kB / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.00722, allocations: 0 / 0.6218 GB, free: 1.062 MB / 0.5294 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 (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 prepare postOptimizeDAE: time 9.869e-05/0.007319, allocations: 118.8 kB / 0.6219 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.007343, allocations: 0 / 0.6219 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.007608, allocations: 85.17 kB / 0.622 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.00761, allocations: 3.938 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007613, allocations: 0 / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007617, allocations: 0 / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.007769, allocations: 109.6 kB / 0.6221 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.007772, allocations: 4 kB / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.007832, allocations: 7.984 kB / 0.6221 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.007833, allocations: 0 / 0.6221 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.007842, allocations: 8.031 kB / 0.6221 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.007846, allocations: 7.922 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007847, allocations: 0 / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.008142, allocations: 163.5 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.008156, allocations: 11.89 kB / 0.6223 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.008168, allocations: 0 / 0.6223 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.008249, allocations: 11.92 kB / 0.6223 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.008288, allocations: 3.984 kB / 0.6223 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.008291, allocations: 4.031 kB / 0.6223 GB, free: 476 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.008353, allocations: 91.27 kB / 0.6224 GB, free: 384 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.008353, allocations: 3.938 kB / 0.6224 GB, free: 380 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002267/0.00858, allocations: 8 kB / 0.6224 GB, free: 372 kB / 0.5294 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.0001574/0.008737, allocations: 91.25 kB / 0.6225 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.008979, allocations: 43.95 kB / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.00898, allocations: 0 / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.009078, allocations: 20.05 kB / 0.6226 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.009368, allocations: 10.19 kB / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.009713, allocations: 124.7 kB / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.009814, allocations: 63.34 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.009837, allocations: 4 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.009861, allocations: 8.5 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.009861, allocations: 0 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Templates: time 0.003407/0.01327, allocations: 0.5401 MB / 0.6233 GB, free: 15.42 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.817554417997599] Failed to read output from testmodel.py, exit status != 0: 0.02218875288963318 0.037392635 0.030368391 Calling exit ...