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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_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.009144/0.009152, allocations: 101 kB / 15.73 MB, free: 6.039 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.002093/0.002093, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7647/0.7647, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 74.91 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 80.21 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001621/0.1411, allocations: 0.5898 MB / 0.6598 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1428, allocations: 1.449 MB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.1428, allocations: 0 / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1428, allocations: 0 / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.212e-05/0.1428, allocations: 7.938 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.1433, allocations: 143.4 kB / 0.6614 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.1434, allocations: 31.91 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.1434, allocations: 7.984 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.1435, allocations: 23.92 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.1436, allocations: 19.97 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1436, allocations: 4 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.144, allocations: 311.3 kB / 0.6618 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.144, allocations: 7.938 kB / 0.6618 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.1441, allocations: 11.98 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1443, allocations: 191.6 kB / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1444, allocations: 0 / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1444, allocations: 0 / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1444, allocations: 0 / 0.662 GB, free: 7.902 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.0004686/0.1448, allocations: 370.4 kB / 0.6623 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1449, allocations: 8.031 kB / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.761e-05/0.1449, allocations: 30.75 kB / 0.6623 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.1454, allocations: 72.75 kB / 0.6624 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.1455, allocations: 164.3 kB / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1455, allocations: 384 / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1455, allocations: 12.38 kB / 0.6626 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.1458, allocations: 81.75 kB / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.1458, allocations: 0 / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1458, allocations: 0 / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1458, allocations: 0 / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.1461, allocations: 67.92 kB / 0.6627 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1462, allocations: 161.6 kB / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.1468, allocations: 126.5 kB / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.147, allocations: 44.92 kB / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/0.1474, allocations: 153 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1474, allocations: 34.5 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.475e-06/0.1475, allocations: 7.984 kB / 0.6632 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001095/0.1486, allocations: 403 kB / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.1486, allocations: 55.41 kB / 0.6637 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.1487, allocations: 93.86 kB / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1487, allocations: 29.7 kB / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.1487, allocations: 88.11 kB / 0.6639 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.1488, allocations: 15.75 kB / 0.6639 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1488, allocations: 25.84 kB / 0.6639 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.1489, allocations: 314.8 kB / 0.6642 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1491, allocations: 31.97 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1492, allocations: 39.97 kB / 0.6643 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1495, allocations: 76.73 kB / 0.6644 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1495, allocations: 0 / 0.6644 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003488/0.1499, allocations: 125.4 kB / 0.6645 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1499, allocations: 8 kB / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1499, allocations: 0 / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1499, allocations: 0 / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1501, allocations: 23.97 kB / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1501, allocations: 0 / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.1502, allocations: 11.98 kB / 0.6645 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1502, allocations: 8 kB / 0.6645 GB, free: 4.98 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 6.69e-05/0.1503, allocations: 113.8 kB / 0.6646 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.1503, allocations: 4.188 kB / 0.6646 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.1508, allocations: 137.2 kB / 0.6648 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1508, allocations: 4 kB / 0.6648 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1508, allocations: 0 / 0.6648 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1508, allocations: 0 / 0.6648 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.1509, allocations: 165.7 kB / 0.6649 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1509, allocations: 7.875 kB / 0.6649 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1511, allocations: 27.97 kB / 0.665 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1511, allocations: 0 / 0.665 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1511, allocations: 0 / 0.665 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1511, allocations: 3.938 kB / 0.665 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1511, allocations: 4 kB / 0.665 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1517, allocations: 181 kB / 0.6651 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1517, allocations: 92.97 kB / 0.6652 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1518, allocations: 0 / 0.6652 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1519, allocations: 16.03 kB / 0.6652 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1519, allocations: 8 kB / 0.6653 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1519, allocations: 4 kB / 0.6653 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.152, allocations: 79.28 kB / 0.6653 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.152, allocations: 0 / 0.6653 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002235/0.1522, allocations: 27.98 kB / 0.6654 GB, free: 4.012 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.000847/0.1531, allocations: 0.7491 MB / 0.6661 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.1534, allocations: 83.98 kB / 0.6662 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1534, allocations: 0 / 0.6662 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1536, allocations: 47.89 kB / 0.6662 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1538, allocations: 5.875 kB / 0.6662 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1556, allocations: 1.372 MB / 0.6676 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1558, allocations: 0.6768 MB / 0.6682 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.694e-05/0.1559, allocations: 19.98 kB / 0.6682 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.156, allocations: 15.44 kB / 0.6683 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.156, allocations: 4 kB / 0.6683 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1737, allocations: 2.041 MB / 0.6703 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.731, allocations: 10.48 kB / 0.6703 GB, free: 14.99 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)