Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0007801/0.0007801, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.001945, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007498/0.0007498, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001775, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.124/1.124, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09371/1.217, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8063/0.8063, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.27/1.076, allocations: 49.14 MB / 448.6 MB, free: 5.891 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 4.812 kB / 450 MB, free: 4.52 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.908e-05, allocations: 2.312 kB / 450 MB, free: 4.516 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001278/0.001297, allocations: 0.6576 MB / 450.7 MB, free: 3.891 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.001643, allocations: 327.9 kB / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.001657, allocations: 0 / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.427e-06/0.00166, allocations: 0 / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.001665, allocations: 1.406 kB / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.001877, allocations: 93.25 kB / 451.1 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.479e-05/0.001922, allocations: 10.05 kB / 451.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.001958, allocations: 5.094 kB / 451.1 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.002, allocations: 14.75 kB / 451.1 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.002053, allocations: 0 / 451.1 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.002066, allocations: 4.766 kB / 451.1 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.002351, allocations: 279.6 kB / 451.4 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.002365, allocations: 4.547 kB / 451.4 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.105e-05/0.002376, allocations: 2.094 kB / 451.4 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.002517, allocations: 89.14 kB / 451.5 MB, free: 3.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.002526, allocations: 0.875 kB / 451.5 MB, free: 3.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002527, allocations: 0 / 451.5 MB, free: 3.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.002534, allocations: 0 / 451.5 MB, free: 3.098 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000257/0.002791, allocations: 262 kB / 451.8 MB, free: 2.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.002818, allocations: 8.531 kB / 451.8 MB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.00289, allocations: 83.33 kB / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.002962, allocations: 103.9 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.00297, allocations: 2.016 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.002987, allocations: 8.312 kB / 452 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.633e-05/0.003063, allocations: 60.64 kB / 452 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.003072, allocations: 2.156 kB / 452 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-06/0.003078, allocations: 384 / 452 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.003083, allocations: 1.469 kB / 452 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.153e-05/0.003094, allocations: 7.938 kB / 452 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.955e-05/0.003174, allocations: 61.05 kB / 452.1 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.907e-05/0.003213, allocations: 23.16 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.003224, allocations: 9.422 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.003523, allocations: 71.16 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.003542, allocations: 30.56 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003543, allocations: 0.8438 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004131/0.003956, allocations: 189 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.003988, allocations: 51.41 kB / 452.5 MB, free: 2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.004043, allocations: 98.72 kB / 452.5 MB, free: 1.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.004054, allocations: 31.78 kB / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.004075, allocations: 84.12 kB / 452.7 MB, free: 1.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.0041, allocations: 11.89 kB / 452.7 MB, free: 1.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.004124, allocations: 18.59 kB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.004203, allocations: 314.8 kB / 453 MB, free: 1.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.004214, allocations: 7.984 kB / 453 MB, free: 1.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.004235, allocations: 18.61 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/0.004267, allocations: 18.56 kB / 453 MB, free: 1.363 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.004268, allocations: 4 kB / 453 MB, free: 1.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.951e-05/0.004327, allocations: 46.81 kB / 453.1 MB, free: 1.309 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.004342, allocations: 4 kB / 453.1 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004345, allocations: 1.281 kB / 453.1 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.004362, allocations: 0.5938 kB / 453.1 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.384e-05/0.004405, allocations: 11.98 kB / 453.1 MB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004408, allocations: 0.6562 kB / 453.1 MB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.00442, allocations: 4 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.004429, allocations: 8.469 kB / 453.1 MB, free: 1.281 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.956e-05/0.004479, allocations: 107.2 kB / 453.2 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.004492, allocations: 5.562 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.004573, allocations: 54.11 kB / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.004574, allocations: 1.219 kB / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.004575, allocations: 0 / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.004578, allocations: 0 / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.333e-05/0.004641, allocations: 65.84 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.004643, allocations: 3.297 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.004671, allocations: 8.906 kB / 453.4 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.004678, allocations: 11.94 kB / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.004679, allocations: 0 / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.004682, allocations: 1 kB / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004683, allocations: 0 / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004683, allocations: 0.875 kB / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.848e-05/0.004772, allocations: 77.67 kB / 453.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-06/0.004779, allocations: 5.25 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.004794, allocations: 3.984 kB / 453.5 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-06/0.004804, allocations: 0 / 453.5 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.004807, allocations: 4 kB / 453.5 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.604e-06/0.004815, allocations: 6.734 kB / 453.5 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004815, allocations: 0 / 453.5 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001174/0.004932, allocations: 28.92 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001448/0.005077, allocations: 109.4 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.678e-05/0.005144, allocations: 18.12 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.005147, allocations: 0.5469 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.005168, allocations: 18.83 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.039e-05/0.005239, allocations: 11.94 kB / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000183/0.005422, allocations: 102 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.005453, allocations: 67.14 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.005479, allocations: 5.422 kB / 453.8 MB, free: 492 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.005522, allocations: 60.16 kB / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of SimCode: time 4.7e-07/0.005523, allocations: 0 / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of Templates: time 0.002123/0.007646, allocations: 0.8847 MB / 454.8 MB, free: 15.62 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5642311004921794]