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.0007691/0.0007691, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007605/0.0007605, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8959/0.8959, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.6943/0.6943, allocations: 154.5 MB / 414.5 MB, free: 0.8477 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.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.653e-06/1.653e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.605e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001071/0.001097, allocations: 0.6033 MB / 0.6199 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004601/0.001557, allocations: 310.8 kB / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.001579, allocations: 0 / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.001593, allocations: 0 / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.839e-05/0.001611, allocations: 0 / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.002, allocations: 127 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.002046, allocations: 8 kB / 0.6203 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.002085, allocations: 3.938 kB / 0.6204 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.002114, allocations: 11.98 kB / 0.6204 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.002161, allocations: 0 / 0.6204 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.002175, allocations: 0 / 0.6204 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.00242, allocations: 259.6 kB / 0.6206 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.002434, allocations: 4 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.00245, allocations: 7.938 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.002624, allocations: 115.7 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002626, allocations: 3.938 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002627, allocations: 4 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.002631, allocations: 0 / 0.6207 GB, free: 11.7 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002777/0.002908, allocations: 270.1 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.002942, allocations: 13.47 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.002989, allocations: 0.9375 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/0.003061, allocations: 109.8 kB / 0.6211 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.00307, allocations: 384 / 0.6211 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.003089, allocations: 384 / 0.6211 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/0.003179, allocations: 59.95 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003186, allocations: 192 / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003195, allocations: 4.375 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.003198, allocations: 4.375 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.003216, allocations: 7.875 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.00332, allocations: 105.3 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.984e-05/0.00336, allocations: 18.61 kB / 0.6213 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.003377, allocations: 16.91 kB / 0.6213 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003412/0.003718, allocations: 75.92 kB / 0.6214 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.003739, allocations: 34.56 kB / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.00374, allocations: 0 / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000392/0.004132, allocations: 169.3 kB / 0.6216 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.004157, allocations: 55.34 kB / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.716e-05/0.004204, allocations: 106 kB / 0.6217 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.004215, allocations: 29.7 kB / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.004238, allocations: 88.08 kB / 0.6219 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.004257, allocations: 7.906 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.004283, allocations: 17.72 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.004356, allocations: 314.8 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.004369, allocations: 4 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.004391, allocations: 17.72 kB / 0.6222 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.004425, allocations: 25.72 kB / 0.6222 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.004425, allocations: 4.125 kB / 0.6222 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.519e-05/0.004491, allocations: 53.62 kB / 0.6223 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.004502, allocations: 4 kB / 0.6223 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.004506, allocations: 0 / 0.6223 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.004516, allocations: 4 kB / 0.6223 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.004557, allocations: 4 kB / 0.6223 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.004564, allocations: 7.922 kB / 0.6223 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.004577, allocations: 8 kB / 0.6223 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.004584, allocations: 4 kB / 0.6223 GB, free: 9.867 MB / 0.5886 GB 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.807e-05/0.004632, allocations: 114.9 kB / 0.6224 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.004643, allocations: 3.938 kB / 0.6224 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.004735, allocations: 57.25 kB / 0.6225 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.004736, allocations: 0 / 0.6225 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.004744, allocations: 0 / 0.6225 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.004748, allocations: 3.938 kB / 0.6225 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.703e-05/0.004805, allocations: 109.3 kB / 0.6226 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.004807, allocations: 4 kB / 0.6226 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.004842, allocations: 4.188 kB / 0.6226 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.004843, allocations: 4 kB / 0.6226 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.004849, allocations: 0 / 0.6226 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.004849, allocations: 0 / 0.6226 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.004851, allocations: 3.984 kB / 0.6226 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.846e-05/0.004949, allocations: 92.94 kB / 0.6227 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-06/0.004953, allocations: 0 / 0.6227 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.004961, allocations: 0 / 0.6227 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.004981, allocations: 4.031 kB / 0.6227 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.004993, allocations: 3.938 kB / 0.6227 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.004998, allocations: 3.984 kB / 0.6227 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.523e-05/0.005023, allocations: 91.28 kB / 0.6228 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005023, allocations: 0 / 0.6228 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001398/0.005163, allocations: 23.94 kB / 0.6228 GB, free: 9.281 MB / 0.5886 GB 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.0001327/0.005295, allocations: 123.2 kB / 0.6229 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.632e-05/0.005362, allocations: 15.94 kB / 0.6229 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005363, allocations: 0 / 0.6229 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.005374, allocations: 11.98 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.005477, allocations: 4.75 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.005669, allocations: 122.9 kB / 0.6231 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.005709, allocations: 67.34 kB / 0.6231 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.005727, allocations: 12.5 kB / 0.6232 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of SimCode: time 2.9e-07/0.005727, allocations: 0 / 0.6232 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of Templates: time 0.001494/0.007221, allocations: 0.7847 MB / 0.6239 GB, free: 8.094 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.8580277524888515] Failed to read output from testmodel.py, exit status != 0: 0.011862674728035927 0.019361369 0.01512308 Calling exit ...