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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007535/0.0007535, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00473/0.00473, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8896/0.8896, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 82.3 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006134/0.1347, allocations: 327.1 kB / 0.5884 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1363, allocations: 1.46 MB / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.284e-05/0.1363, allocations: 0 / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.054e-05/0.1363, allocations: 0 / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.311e-05/0.1363, allocations: 0 / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1367, allocations: 111.7 kB / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.1368, allocations: 27.97 kB / 0.59 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.183e-05/0.1368, allocations: 0 / 0.59 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.1369, allocations: 23.92 kB / 0.59 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.1369, allocations: 19.95 kB / 0.59 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.137, allocations: 4 kB / 0.59 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.1374, allocations: 315.4 kB / 0.5903 GB, free: 264 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.1374, allocations: 11.98 kB / 0.5903 GB, free: 252 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.1374, allocations: 41.61 kB / 0.5904 GB, free: 204 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1377, allocations: 187.6 kB / 0.5905 GB, free: 16 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1377, allocations: 0 / 0.5905 GB, free: 16 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1377, allocations: 0 / 0.5905 GB, free: 16 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.1377, allocations: 0 / 0.5905 GB, free: 16 kB / 494.1 MB 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.0004717/0.1382, allocations: 362 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1382, allocations: 15.97 kB / 0.5909 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.1383, allocations: 34.73 kB / 0.5909 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.1387, allocations: 84.86 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1389, allocations: 164.4 kB / 0.5912 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1389, allocations: 384 / 0.5912 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1389, allocations: 4.375 kB / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1392, allocations: 81.77 kB / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1392, allocations: 0 / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1392, allocations: 3.984 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1392, allocations: 0 / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.1395, allocations: 83.92 kB / 0.5913 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.1397, allocations: 173.6 kB / 0.5915 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.1403, allocations: 138.5 kB / 0.5916 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1405, allocations: 48.91 kB / 0.5917 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.1409, allocations: 177 kB / 0.5918 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.141, allocations: 38.5 kB / 0.5919 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.141, allocations: 0 / 0.5919 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001131/0.1421, allocations: 446.1 kB / 0.5923 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1422, allocations: 51.41 kB / 0.5924 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.543e-05/0.1422, allocations: 97.84 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1422, allocations: 25.7 kB / 0.5925 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.1423, allocations: 84.08 kB / 0.5925 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1423, allocations: 19.66 kB / 0.5926 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1423, allocations: 17.72 kB / 0.5926 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.1424, allocations: 314.8 kB / 0.5929 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1426, allocations: 44.09 kB / 0.5929 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1428, allocations: 43.97 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.1431, allocations: 88.8 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1431, allocations: 0 / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003747/0.1435, allocations: 125.6 kB / 0.5932 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1435, allocations: 8 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1435, allocations: 4 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.1435, allocations: 0 / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1437, allocations: 31.91 kB / 0.5932 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1437, allocations: 0 / 0.5932 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1438, allocations: 15.98 kB / 0.5932 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1438, allocations: 4 kB / 0.5932 GB, free: 12.95 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.192e-05/0.1439, allocations: 113.8 kB / 0.5933 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.1439, allocations: 3.938 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.1444, allocations: 145.2 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1444, allocations: 0 / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1444, allocations: 4 kB / 0.5935 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1444, allocations: 0 / 0.5935 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.1445, allocations: 169.9 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1445, allocations: 3.938 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1447, allocations: 35.97 kB / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1447, allocations: 0 / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1447, allocations: 0 / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1447, allocations: 4 kB / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1447, allocations: 0 / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.1453, allocations: 204.9 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.1454, allocations: 93 kB / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1454, allocations: 3.938 kB / 0.594 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1456, allocations: 24.03 kB / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.1456, allocations: 0 / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1456, allocations: 4 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.1456, allocations: 83.22 kB / 0.5941 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1456, allocations: 0 / 0.5941 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002219/0.1459, allocations: 35.98 kB / 0.5941 GB, free: 11.94 MB / 0.4981 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.000868/0.1467, allocations: 0.7648 MB / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.1471, allocations: 99.86 kB / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1471, allocations: 0 / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1473, allocations: 55.95 kB / 0.595 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.1475, allocations: 4.328 kB / 0.595 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1493, allocations: 1.406 MB / 0.5964 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1496, allocations: 0.6848 MB / 0.5971 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.1497, allocations: 16 kB / 0.5971 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.1497, allocations: 15.42 kB / 0.5971 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1497, allocations: 0 / 0.5971 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/0.3174, allocations: 1.838 MB / 0.5989 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.3176, allocations: 209.9 kB / 0.5991 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.929, allocations: 0 / 0.5991 GB, free: 6.84 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)