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.001717/0.001717, 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.002457/0.002457, allocations: 211.4 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.82 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.9306/0.9306, allocations: 134 MB / 446.4 MB, free: 9.98 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.003029/0.003029, allocations: 72.2 kB / 0.619 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.203, allocations: 85.9 MB / 0.7029 GB, free: 0.5508 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002603/0.2056, allocations: 0.7871 MB / 0.7037 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.208, allocations: 1.443 MB / 0.7051 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.2081, allocations: 0 / 0.7051 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.2081, allocations: 3.938 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.2082, allocations: 4 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.2089, allocations: 155.4 kB / 0.7052 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.209, allocations: 47.72 kB / 0.7053 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.2091, allocations: 11.98 kB / 0.7053 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.2092, allocations: 35.84 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.2093, allocations: 27.84 kB / 0.7054 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.2093, allocations: 4 kB / 0.7054 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.2098, allocations: 247.5 kB / 0.7056 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.2098, allocations: 11.98 kB / 0.7056 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.2098, allocations: 27.84 kB / 0.7056 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.2102, allocations: 195.5 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2102, allocations: 3.938 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2102, allocations: 3.938 kB / 0.7058 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2102, allocations: 0 / 0.7058 GB, free: 13.54 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.0007517/0.211, allocations: 333.8 kB / 0.7061 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.211, allocations: 12.03 kB / 0.7062 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.2115, allocations: 68.84 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2117, allocations: 114.4 kB / 0.7063 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.2117, allocations: 4.375 kB / 0.7063 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.2118, allocations: 12.36 kB / 0.7063 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.2122, allocations: 165.3 kB / 0.7065 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2123, allocations: 0 / 0.7065 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.2123, allocations: 0 / 0.7065 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2123, allocations: 0 / 0.7065 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.2128, allocations: 107.8 kB / 0.7066 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.2135, allocations: 268.4 kB / 0.7069 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.2142, allocations: 150.4 kB / 0.707 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.2144, allocations: 56.8 kB / 0.7071 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2145, allocations: 0 / 0.7071 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.2145, allocations: 38.56 kB / 0.7071 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2145, allocations: 0 / 0.7071 GB, free: 12.12 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.01845/0.2329, allocations: 2.686 MB / 0.7097 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.233, allocations: 59.41 kB / 0.7098 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2331, allocations: 101.8 kB / 0.7099 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.2332, allocations: 29.7 kB / 0.7099 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.2332, allocations: 92.08 kB / 0.71 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.2333, allocations: 39.62 kB / 0.71 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.2335, allocations: 69.58 kB / 0.7101 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2337, allocations: 318.8 kB / 0.7104 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.2343, allocations: 187.8 kB / 0.7106 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/0.235, allocations: 199.8 kB / 0.7108 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.2364, allocations: 400.6 kB / 0.7111 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2364, allocations: 0 / 0.7111 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001594/0.238, allocations: 473.2 kB / 0.7116 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.238, allocations: 8 kB / 0.7116 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.238, allocations: 0 / 0.7116 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.238, allocations: 0 / 0.7116 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.2388, allocations: 115.7 kB / 0.7117 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2388, allocations: 0 / 0.7117 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.2394, allocations: 47.88 kB / 0.7118 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.2395, allocations: 31.92 kB / 0.7118 GB, free: 7.195 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.0001734/0.2396, allocations: 113.8 kB / 0.7119 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/0.2397, allocations: 7.953 kB / 0.7119 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.2398, allocations: 12.06 kB / 0.7119 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2398, allocations: 0 / 0.7119 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2398, allocations: 0 / 0.7119 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.2398, allocations: 7.938 kB / 0.7119 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.2422, allocations: 0.9569 MB / 0.7129 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2422, allocations: 0 / 0.7129 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.2431, allocations: 111.7 kB / 0.713 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.2431, allocations: 7.984 kB / 0.713 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.2431, allocations: 19.94 kB / 0.713 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.2431, allocations: 3.938 kB / 0.713 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2431, allocations: 1.016 kB / 0.713 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.2456, allocations: 0.7878 MB / 0.7138 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.2458, allocations: 43.98 kB / 0.7138 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.2459, allocations: 0 / 0.7138 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/0.2466, allocations: 47.88 kB / 0.7139 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2467, allocations: 27.92 kB / 0.7139 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.2467, allocations: 31.92 kB / 0.7139 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.2468, allocations: 79.28 kB / 0.714 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2468, allocations: 0 / 0.714 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003861/0.2472, allocations: 55.94 kB / 0.714 GB, free: 4.77 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.0002395/0.2474, allocations: 115.1 kB / 0.7142 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.249, allocations: 415.5 kB / 0.7146 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.249, allocations: 0 / 0.7146 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.2497, allocations: 223.7 kB / 0.7148 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.2501, allocations: 8 kB / 0.7148 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.2545, allocations: 0.7657 MB / 0.7155 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2546, allocations: 79.33 kB / 0.7156 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005345/0.2551, allocations: 96.92 kB / 0.7157 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.2554, allocations: 51.31 kB / 0.7157 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of SimCode: time 1.473e-06/0.2554, allocations: 0 / 0.7157 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of Templates: time 0.007936/0.2633, allocations: 3.713 MB / 0.7194 GB, free: 15.28 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.245162131264806] Failed to read output from testmodel.py, exit status != 0: 0.2732765916734934 0.28872923300000003 0.075164692 Calling exit ...