Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8405/0.8405, allocations: 134 MB / 446.4 MB, free: 9.973 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 69.86 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.183, allocations: 85.91 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002028/0.1851, allocations: 0.7646 MB / 0.7032 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.187, allocations: 1.451 MB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.1871, allocations: 0 / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.1871, allocations: 7.938 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.1871, allocations: 0 / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.1876, allocations: 153.9 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.1877, allocations: 55.66 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1878, allocations: 12.27 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.1879, allocations: 23.92 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.1879, allocations: 27.89 kB / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1879, allocations: 4 kB / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.1883, allocations: 247.5 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.1884, allocations: 15.94 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.1884, allocations: 19.91 kB / 0.7051 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1887, allocations: 207.4 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1887, allocations: 3.938 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1887, allocations: 0 / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1887, allocations: 4 kB / 0.7053 GB, free: 14.03 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006286/0.1893, allocations: 325.8 kB / 0.7057 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1894, allocations: 12.03 kB / 0.7057 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.1894, allocations: 34.75 kB / 0.7057 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/0.1899, allocations: 68.84 kB / 0.7058 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.19, allocations: 114.4 kB / 0.7059 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.19, allocations: 8.375 kB / 0.7059 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.19, allocations: 12.36 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.1904, allocations: 168.3 kB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1905, allocations: 3.938 kB / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1905, allocations: 4 kB / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1905, allocations: 0 / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.191, allocations: 103.9 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.1915, allocations: 291.8 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.1922, allocations: 162.3 kB / 0.7066 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1924, allocations: 48.81 kB / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1925, allocations: 0 / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1925, allocations: 38.56 kB / 0.7067 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1925, allocations: 0 / 0.7067 GB, free: 12.52 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01767/0.2102, allocations: 2.695 MB / 0.7093 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.2102, allocations: 55.34 kB / 0.7094 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.2103, allocations: 105.8 kB / 0.7095 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.2104, allocations: 29.7 kB / 0.7095 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.2104, allocations: 88.09 kB / 0.7096 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.2105, allocations: 39.67 kB / 0.7096 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.2107, allocations: 69.58 kB / 0.7097 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2108, allocations: 322.8 kB / 0.71 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.2115, allocations: 191.8 kB / 0.7102 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.2122, allocations: 191.8 kB / 0.7104 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.2135, allocations: 392.7 kB / 0.7107 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2135, allocations: 0 / 0.7107 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001578/0.2151, allocations: 480.3 kB / 0.7112 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2151, allocations: 4 kB / 0.7112 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2151, allocations: 0 / 0.7112 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2151, allocations: 3.938 kB / 0.7112 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.2159, allocations: 111.7 kB / 0.7113 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2159, allocations: 3.984 kB / 0.7113 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.2165, allocations: 47.94 kB / 0.7113 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.2166, allocations: 23.94 kB / 0.7114 GB, free: 7.602 MB / 0.5294 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 (13): * Single equations (assignments): 13 * 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 0.0001571/0.2167, allocations: 113.8 kB / 0.7115 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.2168, allocations: 7.953 kB / 0.7115 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.2168, allocations: 12.06 kB / 0.7115 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2169, allocations: 7.922 kB / 0.7115 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2169, allocations: 0 / 0.7115 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2169, allocations: 4 kB / 0.7115 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.2191, allocations: 0.9797 MB / 0.7125 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2191, allocations: 4 kB / 0.7125 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.2199, allocations: 111.7 kB / 0.7126 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2199, allocations: 0 / 0.7126 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.22, allocations: 23.92 kB / 0.7126 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.22, allocations: 0 / 0.7126 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.22, allocations: 4.031 kB / 0.7126 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.2224, allocations: 0.7989 MB / 0.7134 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2225, allocations: 43.86 kB / 0.7134 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.2226, allocations: 4 kB / 0.7134 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.2232, allocations: 48 kB / 0.7135 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.2233, allocations: 23.92 kB / 0.7135 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.2234, allocations: 23.94 kB / 0.7135 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.2234, allocations: 87.27 kB / 0.7136 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2234, allocations: 0 / 0.7136 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003579/0.2238, allocations: 55.94 kB / 0.7137 GB, free: 5.129 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.002703/0.2265, allocations: 1.344 MB / 0.715 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.2279, allocations: 419.5 kB / 0.7154 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2279, allocations: 0 / 0.7154 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.2287, allocations: 219.7 kB / 0.7156 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.229, allocations: 14.56 kB / 0.7156 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008663/0.2377, allocations: 2.942 MB / 0.7185 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.2378, allocations: 79.27 kB / 0.7185 GB, free: 16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.2383, allocations: 93.08 kB / 0.7186 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.2386, allocations: 67.3 kB / 0.7187 GB, free: 15.84 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.2386, allocations: 0 / 0.7187 GB, free: 15.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.2734, allocations: 5.333 MB / 0.7239 GB, free: 10.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.31, allocations: 6.391 kB / 0.7239 GB, free: 10.64 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.909658054821193] Failed to read output from testmodel.py, exit status != 0: 11.416825859807432 11.442300479 11.249116283 Calling exit ...