Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001602/0.001602, allocations: 109.6 kB / 17.08 MB, free: 6.012 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.001776/0.001776, allocations: 192.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.177/1.177, allocations: 173.4 MB / 471.3 MB, free: 6.59 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 68.19 kB / 0.649 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 89.52 MB / 0.7365 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001705/0.1654, allocations: 0.6086 MB / 0.7371 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1674, allocations: 1.447 MB / 0.7385 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.1674, allocations: 4 kB / 0.7385 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.1674, allocations: 0 / 0.7385 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.036e-05/0.1675, allocations: 0 / 0.7385 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.168, allocations: 135.4 kB / 0.7386 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.162e-05/0.168, allocations: 23.98 kB / 0.7386 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.1681, allocations: 11.94 kB / 0.7386 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.1681, allocations: 15.98 kB / 0.7386 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.1682, allocations: 31.89 kB / 0.7387 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1683, allocations: 4 kB / 0.7387 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.1687, allocations: 311.3 kB / 0.739 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.1688, allocations: 11.98 kB / 0.739 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1688, allocations: 15.91 kB / 0.739 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.1691, allocations: 191.5 kB / 0.7392 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1691, allocations: 0 / 0.7392 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1691, allocations: 0 / 0.7392 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1691, allocations: 0 / 0.7392 GB, free: 0.7656 MB / 0.545 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.0005943/0.1697, allocations: 375.1 kB / 0.7395 GB, free: 360 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1698, allocations: 8.031 kB / 0.7396 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.1702, allocations: 68.84 kB / 0.7396 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1704, allocations: 160.4 kB / 0.7398 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1704, allocations: 384 / 0.7398 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1704, allocations: 4.375 kB / 0.7398 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.1707, allocations: 82 kB / 0.7399 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1707, allocations: 0 / 0.7399 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1707, allocations: 3.938 kB / 0.7399 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1708, allocations: 0 / 0.7399 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1711, allocations: 71.86 kB / 0.7399 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.1713, allocations: 169.6 kB / 0.7401 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.1719, allocations: 118.5 kB / 0.7402 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1721, allocations: 44.92 kB / 0.7402 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.1725, allocations: 153 kB / 0.7404 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1726, allocations: 34.5 kB / 0.7404 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 4.388e-06/0.1726, allocations: 0 / 0.7404 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001203/0.1738, allocations: 414.1 kB / 0.7408 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1739, allocations: 55.41 kB / 0.7409 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.1739, allocations: 89.86 kB / 0.741 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.174, allocations: 29.7 kB / 0.741 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.174, allocations: 84.14 kB / 0.7411 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.174, allocations: 11.86 kB / 0.7411 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.1741, allocations: 25.7 kB / 0.7411 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1742, allocations: 319 kB / 0.7414 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1744, allocations: 39.89 kB / 0.7414 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1746, allocations: 35.97 kB / 0.7415 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1749, allocations: 72.8 kB / 0.7415 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1749, allocations: 0 / 0.7415 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003754/0.1753, allocations: 117.5 kB / 0.7417 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1753, allocations: 8 kB / 0.7417 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1753, allocations: 7.922 kB / 0.7417 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1753, allocations: 4 kB / 0.7417 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1755, allocations: 19.98 kB / 0.7417 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1755, allocations: 0 / 0.7417 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1756, allocations: 11.98 kB / 0.7417 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1756, allocations: 0 / 0.7417 GB, free: 13.89 MB / 0.5606 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.737e-05/0.1757, allocations: 121.8 kB / 0.7418 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.1757, allocations: 7.891 kB / 0.7418 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.1762, allocations: 129.4 kB / 0.742 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1762, allocations: 7.984 kB / 0.742 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1762, allocations: 4.062 kB / 0.742 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1762, allocations: 4 kB / 0.742 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1764, allocations: 161.7 kB / 0.7421 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1764, allocations: 3.984 kB / 0.7421 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.1767, allocations: 23.92 kB / 0.7422 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1767, allocations: 4 kB / 0.7422 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1767, allocations: 0 / 0.7422 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1767, allocations: 0 / 0.7422 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1767, allocations: 0 / 0.7422 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.1775, allocations: 189 kB / 0.7423 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.1776, allocations: 97.02 kB / 0.7424 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1776, allocations: 0 / 0.7424 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1778, allocations: 11.98 kB / 0.7424 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1778, allocations: 3.984 kB / 0.7424 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1779, allocations: 8.062 kB / 0.7425 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.1779, allocations: 79.28 kB / 0.7425 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1779, allocations: 0 / 0.7425 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002978/0.1782, allocations: 31.88 kB / 0.7426 GB, free: 12.92 MB / 0.5606 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.0002472/0.1785, allocations: 131 kB / 0.7427 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005007/0.179, allocations: 92.02 kB / 0.7428 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.179, allocations: 0 / 0.7428 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.1793, allocations: 51.89 kB / 0.7428 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.1795, allocations: 0 / 0.7428 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.1802, allocations: 211 kB / 0.743 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1805, allocations: 0.6807 MB / 0.7437 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.1806, allocations: 15.44 kB / 0.7437 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1806, allocations: 0 / 0.7437 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.002816/0.1834, allocations: 1.134 MB / 0.7448 GB, free: 10.55 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.019088704837486] Failed to read output from testmodel.py, exit status != 0: 0.19001737306825817 0.20318845600000002 0.031520923 Calling exit ...