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.001612/0.001612, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002136/0.002136, allocations: 220.5 kB / 22.26 MB, free: 5.121 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.988 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.8643/0.8643, allocations: 134 MB / 446.4 MB, free: 10.24 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.00198/0.00198, allocations: 66.5 kB / 0.6186 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1803, allocations: 85.92 MB / 0.7025 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002102/0.1824, allocations: 0.7851 MB / 0.7033 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1846, allocations: 1.536 MB / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.1846, allocations: 0 / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.1846, allocations: 7.938 kB / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.1847, allocations: 3.938 kB / 0.7048 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.1852, allocations: 147.4 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1853, allocations: 55.59 kB / 0.705 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1854, allocations: 8.266 kB / 0.705 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.1854, allocations: 31.91 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.421e-05/0.1855, allocations: 27.91 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1856, allocations: 4 kB / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.186, allocations: 319.4 kB / 0.7053 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.1861, allocations: 15.92 kB / 0.7054 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1861, allocations: 27.86 kB / 0.7054 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1864, allocations: 215.4 kB / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1864, allocations: 0 / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1864, allocations: 4 kB / 0.7056 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1864, allocations: 0 / 0.7056 GB, free: 14.15 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.0006522/0.1871, allocations: 325.8 kB / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1871, allocations: 12.03 kB / 0.7059 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.1872, allocations: 38.73 kB / 0.7059 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.1876, allocations: 68.86 kB / 0.706 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1878, allocations: 122.4 kB / 0.7061 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.1878, allocations: 12.36 kB / 0.7061 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1878, allocations: 4.375 kB / 0.7061 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.1882, allocations: 112.9 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1882, allocations: 0 / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1882, allocations: 8 kB / 0.7063 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1882, allocations: 0 / 0.7063 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.1887, allocations: 103.9 kB / 0.7064 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.1893, allocations: 303.7 kB / 0.7067 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.1899, allocations: 154.4 kB / 0.7068 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1902, allocations: 48.81 kB / 0.7068 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1902, allocations: 3.938 kB / 0.7068 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1902, allocations: 38.56 kB / 0.7069 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1902, allocations: 7.938 kB / 0.7069 GB, free: 12.69 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.01798/0.2082, allocations: 2.686 MB / 0.7095 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.2083, allocations: 59.34 kB / 0.7096 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2084, allocations: 101.8 kB / 0.7097 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.2084, allocations: 25.7 kB / 0.7097 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.2085, allocations: 92.09 kB / 0.7098 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.2086, allocations: 39.69 kB / 0.7098 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.2087, allocations: 69.58 kB / 0.7099 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.2089, allocations: 318.8 kB / 0.7102 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.2096, allocations: 187.8 kB / 0.7104 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.2103, allocations: 191.8 kB / 0.7106 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.2116, allocations: 404.5 kB / 0.7109 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2116, allocations: 0 / 0.7109 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001485/0.213, allocations: 476.4 kB / 0.7114 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2131, allocations: 8 kB / 0.7114 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2131, allocations: 4 kB / 0.7114 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2131, allocations: 0 / 0.7114 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.214, allocations: 103.7 kB / 0.7115 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.2141, allocations: 7.938 kB / 0.7115 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.2147, allocations: 51.92 kB / 0.7116 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.2147, allocations: 19.94 kB / 0.7116 GB, free: 7.777 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.0001733/0.2149, allocations: 117.8 kB / 0.7117 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.215, allocations: 7.953 kB / 0.7117 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.215, allocations: 12.06 kB / 0.7117 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.2151, allocations: 7.938 kB / 0.7117 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2151, allocations: 0 / 0.7117 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.2151, allocations: 3.984 kB / 0.7117 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.2174, allocations: 1.023 MB / 0.7127 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2174, allocations: 0 / 0.7127 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/0.2182, allocations: 107.7 kB / 0.7128 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2182, allocations: 192 / 0.7128 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/0.2183, allocations: 27.92 kB / 0.7128 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2183, allocations: 0 / 0.7128 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.2183, allocations: 4 kB / 0.7129 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.2206, allocations: 0.7917 MB / 0.7136 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.2207, allocations: 43.86 kB / 0.7137 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.2208, allocations: 0 / 0.7137 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.2215, allocations: 52 kB / 0.7137 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.2216, allocations: 27.86 kB / 0.7137 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.2216, allocations: 23.94 kB / 0.7138 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.044e-05/0.2217, allocations: 87.27 kB / 0.7138 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2217, allocations: 0 / 0.7138 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003729/0.2221, allocations: 51.94 kB / 0.7139 GB, free: 5.266 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.002659/0.2247, allocations: 1.344 MB / 0.7152 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.2261, allocations: 427.5 kB / 0.7156 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2262, allocations: 0 / 0.7156 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.2269, allocations: 219.7 kB / 0.7158 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.2272, allocations: 11.98 kB / 0.7158 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008743/0.236, allocations: 2.937 MB / 0.7187 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.2363, allocations: 0.6963 MB / 0.7194 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005234/0.2368, allocations: 92.66 kB / 0.7195 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.2371, allocations: 63.3 kB / 0.7195 GB, free: 15.36 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.2371, allocations: 0 / 0.7195 GB, free: 15.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.2697, allocations: 4.784 MB / 0.7242 GB, free: 10.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.24, allocations: 6.297 kB / 0.7242 GB, free: 10.7 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.887730963993818] Failed to read output from testmodel.py, exit status != 0: 11.354580127866939 11.373384137 11.183598216 Calling exit ...