Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001779/0.001779, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.00203/0.00203, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.385/1.385, allocations: 177.2 MB / 203.4 MB, free: 8.992 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.7995/0.7995, allocations: 101.3 MB / 361.1 MB, free: 9.555 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.002046/0.002046, allocations: 69.55 kB / 0.5357 GB, free: 5.18 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.1378/0.1399, allocations: 85.89 MB / 0.6195 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001663/0.1415, allocations: 0.6053 MB / 0.6201 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1434, allocations: 1.428 MB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.1434, allocations: 4 kB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.1435, allocations: 0 / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.1435, allocations: 0 / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.144, allocations: 139.4 kB / 0.6217 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.144, allocations: 31.97 kB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.1441, allocations: 4 kB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.1441, allocations: 19.91 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.1442, allocations: 23.97 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1442, allocations: 0 / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.1446, allocations: 247.5 kB / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1446, allocations: 15.91 kB / 0.622 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1447, allocations: 11.98 kB / 0.622 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.145, allocations: 179.5 kB / 0.6222 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.145, allocations: 0 / 0.6222 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.145, allocations: 0 / 0.6222 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.145, allocations: 4 kB / 0.6222 GB, free: 14.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000524/0.1455, allocations: 289.9 kB / 0.6225 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1455, allocations: 8.031 kB / 0.6225 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.146, allocations: 68.84 kB / 0.6225 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1461, allocations: 106.5 kB / 0.6226 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1461, allocations: 4.375 kB / 0.6226 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1462, allocations: 4.359 kB / 0.6226 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.1464, allocations: 103.7 kB / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1464, allocations: 0 / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1465, allocations: 8 kB / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1465, allocations: 0 / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.1468, allocations: 67.86 kB / 0.6228 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1469, allocations: 109.3 kB / 0.6229 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.1476, allocations: 130.4 kB / 0.623 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1477, allocations: 48.97 kB / 0.6231 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004354/0.1482, allocations: 75.91 kB / 0.6232 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1482, allocations: 30.56 kB / 0.6232 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1482, allocations: 0 / 0.6232 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001181/0.1494, allocations: 333 kB / 0.6235 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1494, allocations: 63.34 kB / 0.6236 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.1495, allocations: 93.86 kB / 0.6237 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1495, allocations: 29.7 kB / 0.6237 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.1496, allocations: 80.14 kB / 0.6238 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1496, allocations: 15.89 kB / 0.6238 GB, free: 13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1496, allocations: 21.72 kB / 0.6238 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1498, allocations: 314.8 kB / 0.6241 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.15, allocations: 36.09 kB / 0.6241 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1501, allocations: 35.97 kB / 0.6242 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.1504, allocations: 76.8 kB / 0.6242 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1504, allocations: 0 / 0.6242 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003955/0.1508, allocations: 113.6 kB / 0.6244 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1508, allocations: 11.88 kB / 0.6244 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1508, allocations: 0 / 0.6244 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1509, allocations: 0 / 0.6244 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.151, allocations: 23.97 kB / 0.6244 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.151, allocations: 0 / 0.6244 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1511, allocations: 15.98 kB / 0.6244 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1511, allocations: 8 kB / 0.6244 GB, free: 12.33 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 (6): * Single equations (assignments): 6 * 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.733e-05/0.1512, allocations: 106.9 kB / 0.6245 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.1512, allocations: 11.89 kB / 0.6245 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.1517, allocations: 141.6 kB / 0.6247 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1517, allocations: 4 kB / 0.6247 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1517, allocations: 0 / 0.6247 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1517, allocations: 0 / 0.6247 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1519, allocations: 121.3 kB / 0.6248 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1519, allocations: 0 / 0.6248 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.152, allocations: 19.98 kB / 0.6248 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.152, allocations: 3.938 kB / 0.6248 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.152, allocations: 3.938 kB / 0.6248 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.152, allocations: 4 kB / 0.6248 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.152, allocations: 7.984 kB / 0.6248 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.1526, allocations: 181.1 kB / 0.625 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1527, allocations: 7.938 kB / 0.625 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1527, allocations: 7.938 kB / 0.625 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1528, allocations: 15.92 kB / 0.625 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.1528, allocations: 3.984 kB / 0.625 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1529, allocations: 12.06 kB / 0.625 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.1529, allocations: 75.28 kB / 0.6251 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1529, allocations: 0 / 0.6251 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002401/0.1531, allocations: 35.86 kB / 0.6251 GB, free: 11.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001651/0.1533, allocations: 119.1 kB / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.1537, allocations: 80.03 kB / 0.6253 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1537, allocations: 0 / 0.6253 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.1539, allocations: 51.89 kB / 0.6254 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.154, allocations: 0 / 0.6254 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.1547, allocations: 193.3 kB / 0.6256 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.1547, allocations: 67.34 kB / 0.6256 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.561e-05/0.1548, allocations: 16 kB / 0.6256 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.1548, allocations: 12.5 kB / 0.6257 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1548, allocations: 0 / 0.6257 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.003797/0.1586, allocations: 1.187 MB / 0.6268 GB, free: 9.754 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1553103539627045] Failed to read output from testmodel.py, exit status != 0: 0.16604520997498184 0.18152919 0.03352062 Calling exit ...