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) 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-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001195/0.001195, allocations: 116 kB / 16.42 MB, free: 6.496 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.001225/0.001225, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7241/0.7241, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 65.94 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1183, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001523/0.1198, allocations: 0.5827 MB / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1213, allocations: 1.461 MB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1213, allocations: 0 / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.1213, allocations: 0 / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.1214, allocations: 0 / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.1218, allocations: 150.7 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.1219, allocations: 31.91 kB / 0.6675 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.1219, allocations: 0 / 0.6675 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.652e-05/0.1219, allocations: 23.92 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.122, allocations: 27.95 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.122, allocations: 0 / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.1224, allocations: 315.4 kB / 0.6679 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1225, allocations: 11.91 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1225, allocations: 11.98 kB / 0.6679 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1228, allocations: 191.6 kB / 0.6681 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1228, allocations: 0 / 0.6681 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.093e-06/0.1228, allocations: 0 / 0.6681 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1228, allocations: 0 / 0.6681 GB, free: 2.93 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.0004523/0.1232, allocations: 363.5 kB / 0.6684 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1233, allocations: 13.09 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004328/0.1237, allocations: 64.86 kB / 0.6685 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/0.1238, allocations: 164.4 kB / 0.6687 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1238, allocations: 4.375 kB / 0.6687 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1239, allocations: 8.281 kB / 0.6687 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1241, allocations: 81.89 kB / 0.6688 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1241, allocations: 3.938 kB / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1241, allocations: 0 / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1241, allocations: 0 / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.1244, allocations: 71.86 kB / 0.6688 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.1246, allocations: 161.7 kB / 0.669 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.1251, allocations: 118.5 kB / 0.6691 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1253, allocations: 48.91 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.1257, allocations: 149 kB / 0.6693 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1258, allocations: 42.44 kB / 0.6693 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.1258, allocations: 0 / 0.6693 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001042/0.1268, allocations: 406.2 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1269, allocations: 51.41 kB / 0.6698 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.712e-05/0.1269, allocations: 101.8 kB / 0.6699 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1269, allocations: 25.7 kB / 0.6699 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.127, allocations: 80.14 kB / 0.67 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.127, allocations: 15.75 kB / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.127, allocations: 25.7 kB / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.1271, allocations: 315 kB / 0.6703 GB, free: 396 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.1273, allocations: 31.97 kB / 0.6703 GB, free: 364 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1274, allocations: 39.95 kB / 0.6704 GB, free: 324 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1277, allocations: 72.81 kB / 0.6704 GB, free: 248 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1277, allocations: 0 / 0.6704 GB, free: 248 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003358/0.1281, allocations: 117.6 kB / 0.6705 GB, free: 124 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1281, allocations: 9.812 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1281, allocations: 0 / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1281, allocations: 4.25 kB / 0.6706 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1283, allocations: 23.97 kB / 0.6706 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1283, allocations: 4 kB / 0.6706 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.1284, allocations: 11.98 kB / 0.6706 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1284, allocations: 4 kB / 0.6706 GB, free: 68 kB / 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 8.683e-05/0.1285, allocations: 115.2 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.1285, allocations: 11.84 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.1289, allocations: 133.1 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.129, allocations: 336 / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.129, allocations: 0 / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.129, allocations: 89.09 kB / 0.6709 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1291, allocations: 7.984 kB / 0.6709 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1292, allocations: 19.91 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.1292, allocations: 7.938 kB / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004602/0.1297, allocations: 200.9 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005598/0.1302, allocations: 342.5 kB / 0.6715 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00015/0.1304, allocations: 39.98 kB / 0.6715 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.637e-05/0.1304, allocations: 79.28 kB / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of Backend: time 2.2e-07/0.1304, allocations: 0 / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005571/0.131, allocations: 170.5 kB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0003522/0.1314, allocations: 0.5651 MB / 0.6723 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.003415/0.1348, allocations: 1.687 MB / 0.674 GB, free: 12.5 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)