Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3159/0.3159, allocations: 55.68 MB / 340.7 MB, free: 13.97 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 78.23 kB / 482.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4343, allocations: 62.87 MB / 0.5322 GB, free: 7.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002525/0.4368, allocations: 0.5618 MB / 0.5327 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.4377, allocations: 338 kB / 0.533 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.4378, allocations: 1.094 kB / 0.533 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.4378, allocations: 0 / 0.533 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.4378, allocations: 3.938 kB / 0.533 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.4384, allocations: 106.1 kB / 0.5331 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.4385, allocations: 23.06 kB / 0.5332 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.4385, allocations: 1.859 kB / 0.5332 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.4386, allocations: 3.375 kB / 0.5332 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.4386, allocations: 6.875 kB / 0.5332 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4386, allocations: 1.312 kB / 0.5332 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.4391, allocations: 270.9 kB / 0.5334 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.4392, allocations: 5.984 kB / 0.5334 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.4392, allocations: 1.656 kB / 0.5334 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.4394, allocations: 93.52 kB / 0.5335 GB, free: 7.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4394, allocations: 0 / 0.5335 GB, free: 7.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4394, allocations: 0 / 0.5335 GB, free: 7.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.4394, allocations: 5.531 kB / 0.5335 GB, free: 7.172 MB / 398.1 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.000335/0.4397, allocations: 273.6 kB / 0.5338 GB, free: 6.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4398, allocations: 8.781 kB / 0.5338 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.4398, allocations: 2.312 kB / 0.5338 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.4399, allocations: 106.7 kB / 0.5339 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4399, allocations: 384 / 0.5339 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.44, allocations: 1.844 kB / 0.5339 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.4401, allocations: 40.28 kB / 0.534 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4401, allocations: 4.656 kB / 0.534 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4401, allocations: 0 / 0.534 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4401, allocations: 1.375 kB / 0.534 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.364e-05/0.4401, allocations: 2.984 kB / 0.534 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.4403, allocations: 124.1 kB / 0.5341 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.4403, allocations: 22.28 kB / 0.5341 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.4403, allocations: 8.406 kB / 0.5341 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.4409, allocations: 84.52 kB / 0.5342 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.4409, allocations: 36.34 kB / 0.5342 GB, free: 6.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4409, allocations: 0.75 kB / 0.5342 GB, free: 6.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005229/0.4415, allocations: 178.8 kB / 0.5344 GB, free: 6.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.4415, allocations: 52.06 kB / 0.5344 GB, free: 6.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.4415, allocations: 94.64 kB / 0.5345 GB, free: 6.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.4415, allocations: 25.7 kB / 0.5346 GB, free: 6.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.4416, allocations: 85.84 kB / 0.5346 GB, free: 6.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.4416, allocations: 13.91 kB / 0.5347 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.4416, allocations: 22.28 kB / 0.5347 GB, free: 5.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.4417, allocations: 313.2 kB / 0.535 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.4417, allocations: 4.281 kB / 0.535 GB, free: 5.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.4418, allocations: 27.73 kB / 0.535 GB, free: 5.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.4418, allocations: 24.03 kB / 0.535 GB, free: 5.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4418, allocations: 5.125 kB / 0.535 GB, free: 5.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/0.4419, allocations: 56.83 kB / 0.5351 GB, free: 5.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4419, allocations: 5.047 kB / 0.5351 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4419, allocations: 1.188 kB / 0.5351 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4419, allocations: 1.125 kB / 0.5351 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.442, allocations: 7.5 kB / 0.5351 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.442, allocations: 3.984 kB / 0.5351 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.442, allocations: 1.25 kB / 0.5351 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.442, allocations: 1.734 kB / 0.5351 GB, free: 5.582 MB / 398.1 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 6.252e-05/0.4421, allocations: 116.8 kB / 0.5352 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.4421, allocations: 5.062 kB / 0.5352 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.4423, allocations: 55.92 kB / 0.5353 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4423, allocations: 1.156 kB / 0.5353 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4423, allocations: 4 kB / 0.5353 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4423, allocations: 0.75 kB / 0.5353 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.877e-05/0.4424, allocations: 132.8 kB / 0.5354 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4424, allocations: 0 / 0.5354 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.4424, allocations: 9.578 kB / 0.5354 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4424, allocations: 1.828 kB / 0.5354 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4424, allocations: 0 / 0.5354 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4424, allocations: 1.766 kB / 0.5354 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4424, allocations: 3.938 kB / 0.5354 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.4426, allocations: 83.58 kB / 0.5355 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.4426, allocations: 6.141 kB / 0.5355 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.4426, allocations: 5.172 kB / 0.5355 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.4427, allocations: 5.672 kB / 0.5355 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.4427, allocations: 5.797 kB / 0.5355 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4427, allocations: 3.219 kB / 0.5355 GB, free: 5.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.4427, allocations: 77.03 kB / 0.5356 GB, free: 5.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4427, allocations: 0 / 0.5356 GB, free: 5.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.443, allocations: 23.62 kB / 0.5356 GB, free: 5.066 MB / 398.1 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.0002171/0.4432, allocations: 117.5 kB / 0.5357 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.4433, allocations: 25.08 kB / 0.5358 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4433, allocations: 1.375 kB / 0.5358 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.4433, allocations: 5.547 kB / 0.5358 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.4435, allocations: 13.5 kB / 0.5358 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.4437, allocations: 111.2 kB / 0.5359 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.4439, allocations: 0.6755 MB / 0.5365 GB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.636e-05/0.4439, allocations: 8.016 kB / 0.5366 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.4439, allocations: 9.875 kB / 0.5366 GB, free: 4.133 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4439, allocations: 0 / 0.5366 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Templates: time 0.00429/0.4482, allocations: 0.8828 MB / 0.5374 GB, free: 4.074 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4482651222497225] Failed to read output from testmodel.py, exit status != 0: 0.4570107161998749 0.47290292600000006 0.030011819000000002 Calling exit ...