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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 114.3 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 183.9 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7631/0.7631, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 70.86 kB / 0.5821 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1475, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001706/0.1493, allocations: 0.5962 MB / 0.661 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1511, allocations: 1.461 MB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.1511, allocations: 0 / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.1511, allocations: 3.938 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.098e-05/0.1512, allocations: 0 / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1517, allocations: 147.4 kB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.1517, allocations: 27.92 kB / 0.6626 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.1518, allocations: 3.984 kB / 0.6626 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.1518, allocations: 11.98 kB / 0.6626 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.1519, allocations: 23.97 kB / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1519, allocations: 0 / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.1524, allocations: 319.3 kB / 0.6629 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.1524, allocations: 11.94 kB / 0.6629 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.1524, allocations: 7.984 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.1527, allocations: 191.6 kB / 0.6631 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1527, allocations: 0 / 0.6631 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1528, allocations: 0 / 0.6631 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1528, allocations: 0 / 0.6631 GB, free: 7.43 MB / 0.4981 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.0005306/0.1533, allocations: 367.5 kB / 0.6635 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1533, allocations: 8.031 kB / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.1538, allocations: 72.75 kB / 0.6635 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1539, allocations: 168.3 kB / 0.6637 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.154, allocations: 4.375 kB / 0.6637 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.154, allocations: 384 / 0.6637 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.1542, allocations: 81.92 kB / 0.6638 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1543, allocations: 0 / 0.6638 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1543, allocations: 7.875 kB / 0.6638 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1543, allocations: 4 kB / 0.6638 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.1546, allocations: 59.94 kB / 0.6638 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.1548, allocations: 173.6 kB / 0.664 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.1554, allocations: 122.5 kB / 0.6641 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.1556, allocations: 40.92 kB / 0.6642 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.1561, allocations: 161 kB / 0.6643 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1561, allocations: 38.5 kB / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1561, allocations: 0 / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001165/0.1573, allocations: 406.2 kB / 0.6647 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1573, allocations: 51.41 kB / 0.6648 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.1574, allocations: 97.86 kB / 0.6649 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1574, allocations: 29.7 kB / 0.6649 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.1574, allocations: 80.14 kB / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1575, allocations: 15.73 kB / 0.665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.1575, allocations: 21.72 kB / 0.665 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.1576, allocations: 314.8 kB / 0.6653 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1578, allocations: 40.08 kB / 0.6654 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.158, allocations: 35.91 kB / 0.6654 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1583, allocations: 80.8 kB / 0.6655 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1583, allocations: 0 / 0.6655 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000367/0.1587, allocations: 113.5 kB / 0.6656 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1587, allocations: 7.938 kB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1587, allocations: 0 / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1587, allocations: 0 / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1589, allocations: 27.98 kB / 0.6656 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1589, allocations: 0 / 0.6656 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.159, allocations: 11.98 kB / 0.6656 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.159, allocations: 7.984 kB / 0.6656 GB, free: 4.547 MB / 0.4981 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 7.754e-05/0.1591, allocations: 110.7 kB / 0.6657 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.1591, allocations: 7.938 kB / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.1596, allocations: 137.2 kB / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1596, allocations: 0 / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1596, allocations: 0 / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.1597, allocations: 89.03 kB / 0.666 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1597, allocations: 320 / 0.666 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.1599, allocations: 15.98 kB / 0.666 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1599, allocations: 15.98 kB / 0.666 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005057/0.1604, allocations: 208.8 kB / 0.6662 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006108/0.161, allocations: 330.6 kB / 0.6665 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001677/0.1612, allocations: 44.39 kB / 0.6666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.1612, allocations: 83.27 kB / 0.6666 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of Backend: time 3.71e-07/0.1613, allocations: 0 / 0.6666 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005997/0.1619, allocations: 172.6 kB / 0.6668 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003737/0.1622, allocations: 0.5651 MB / 0.6674 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of Templates: time 0.003664/0.1659, allocations: 1.69 MB / 0.669 GB, free: 0.9883 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)