Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001637/0.001637, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001313/0.001313, allocations: 158.1 kB / 23.01 MB, free: 4.961 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.39/1.39, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.36 kB / 0.5357 GB, free: 5.215 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1401/0.1422, allocations: 85.87 MB / 0.6195 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001763/0.1439, allocations: 0.6147 MB / 0.6201 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006793/0.1446, allocations: 319.2 kB / 0.6204 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.1447, allocations: 0 / 0.6204 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.1447, allocations: 3.938 kB / 0.6204 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.969e-05/0.1447, allocations: 0 / 0.6204 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.1451, allocations: 134 kB / 0.6206 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.1452, allocations: 15.98 kB / 0.6206 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.1452, allocations: 4 kB / 0.6206 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.1453, allocations: 11.94 kB / 0.6206 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1453, allocations: 11.98 kB / 0.6206 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1453, allocations: 0 / 0.6206 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1457, allocations: 255.6 kB / 0.6209 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1458, allocations: 15.92 kB / 0.6209 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.1458, allocations: 11.94 kB / 0.6209 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.146, allocations: 103.6 kB / 0.621 GB, free: 72 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.146, allocations: 0 / 0.621 GB, free: 72 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.146, allocations: 0 / 0.621 GB, free: 72 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.146, allocations: 0 / 0.621 GB, free: 72 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004289/0.1464, allocations: 292.6 kB / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1464, allocations: 12.03 kB / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.1465, allocations: 12.83 kB / 0.6213 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1466, allocations: 106.5 kB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1466, allocations: 4.375 kB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1466, allocations: 12.31 kB / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1468, allocations: 97.64 kB / 0.6215 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1468, allocations: 192 / 0.6215 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1468, allocations: 7.938 kB / 0.6215 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1468, allocations: 0 / 0.6215 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.1469, allocations: 19.98 kB / 0.6215 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.147, allocations: 113.3 kB / 0.6216 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1471, allocations: 54.5 kB / 0.6217 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.1472, allocations: 25.08 kB / 0.6217 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/0.1477, allocations: 75.92 kB / 0.6218 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1477, allocations: 38.55 kB / 0.6218 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1477, allocations: 0 / 0.6218 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001221/0.149, allocations: 459.6 kB / 0.6222 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.149, allocations: 51.41 kB / 0.6223 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.1491, allocations: 101.8 kB / 0.6224 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1491, allocations: 29.64 kB / 0.6224 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.1492, allocations: 84.14 kB / 0.6225 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.1492, allocations: 47.62 kB / 0.6226 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.1492, allocations: 25.72 kB / 0.6226 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1494, allocations: 318.8 kB / 0.6229 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.1494, allocations: 19.98 kB / 0.6229 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/0.1495, allocations: 24 kB / 0.6229 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1496, allocations: 60.78 kB / 0.623 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1496, allocations: 4 kB / 0.623 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000169/0.1497, allocations: 92.56 kB / 0.6231 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1498, allocations: 14.44 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1498, allocations: 0 / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1498, allocations: 4 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1499, allocations: 23.92 kB / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1499, allocations: 7.984 kB / 0.6231 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.1499, allocations: 4 kB / 0.6231 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1499, allocations: 4 kB / 0.6231 GB, free: 13.64 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 (13): * Single equations (assignments): 13 * 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 8.437e-05/0.15, allocations: 111 kB / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1501, allocations: 15.83 kB / 0.6232 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.1503, allocations: 109.7 kB / 0.6234 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1503, allocations: 0 / 0.6234 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1503, allocations: 0 / 0.6234 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1503, allocations: 4 kB / 0.6234 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.1506, allocations: 294.1 kB / 0.6236 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1506, allocations: 4 kB / 0.6236 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1507, allocations: 19.94 kB / 0.6237 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1508, allocations: 3.984 kB / 0.6237 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1508, allocations: 0 / 0.6237 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1508, allocations: 4 kB / 0.6237 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1508, allocations: 0 / 0.6237 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.151, allocations: 221.2 kB / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1511, allocations: 15.97 kB / 0.6239 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1511, allocations: 0 / 0.6239 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.1512, allocations: 4.062 kB / 0.6239 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.1512, allocations: 15.92 kB / 0.6239 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1512, allocations: 4 kB / 0.6239 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.133e-05/0.1513, allocations: 83.27 kB / 0.624 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1513, allocations: 0 / 0.624 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002805/0.1515, allocations: 43.88 kB / 0.624 GB, free: 12.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002149/0.1518, allocations: 135.2 kB / 0.6242 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1519, allocations: 63.84 kB / 0.6242 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1519, allocations: 0 / 0.6242 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.152, allocations: 31.98 kB / 0.6243 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1522, allocations: 7.938 kB / 0.6243 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.1525, allocations: 173.8 kB / 0.6244 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.1526, allocations: 75.33 kB / 0.6245 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.421e-05/0.1526, allocations: 12.27 kB / 0.6245 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.1527, allocations: 20.44 kB / 0.6245 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1527, allocations: 0 / 0.6245 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.004178/0.1568, allocations: 1.379 MB / 0.6259 GB, free: 10.71 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.144271577009931] Failed to read output from testmodel.py, exit status != 0: 0.1641545289894566 0.179316792 0.030301442 Calling exit ...