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.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.001589/0.001589, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.001745/0.001745, allocations: 169.1 kB / 22.46 MB, free: 5.359 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.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.251/1.251, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6187 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.081e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001626/0.001657, allocations: 0.591 MB / 0.6192 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.004126, allocations: 1.435 MB / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.00415, allocations: 0 / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.004165, allocations: 3.938 kB / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.004191, allocations: 3.938 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.004724, allocations: 143.4 kB / 0.6208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.004809, allocations: 31.91 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.004846, allocations: 0 / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.004919, allocations: 23.97 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.004992, allocations: 19.91 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.005011, allocations: 0 / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.00543, allocations: 255.4 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.005455, allocations: 11.97 kB / 0.6211 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.005485, allocations: 11.92 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.005839, allocations: 199.5 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005841, allocations: 4 kB / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005843, allocations: 0 / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.005847, allocations: 0 / 0.6213 GB, free: 1.746 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006134/0.00646, allocations: 294 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.006498, allocations: 8.031 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/0.007011, allocations: 68.84 kB / 0.6217 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.007124, allocations: 105.7 kB / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.00715, allocations: 384 / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.007186, allocations: 8.375 kB / 0.6218 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.007489, allocations: 103.9 kB / 0.6219 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007499, allocations: 192 / 0.6219 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.007514, allocations: 4.375 kB / 0.6219 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.00752, allocations: 3.938 kB / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.007849, allocations: 67.92 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.008026, allocations: 113.2 kB / 0.6221 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.008666, allocations: 122.5 kB / 0.6222 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.008851, allocations: 44.92 kB / 0.6222 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.009296, allocations: 75.89 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.009327, allocations: 38.56 kB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.009328, allocations: 0 / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001243/0.01057, allocations: 333 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.01061, allocations: 55.34 kB / 0.6227 GB, free: 172 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.01069, allocations: 97.86 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.01072, allocations: 25.7 kB / 0.6228 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.01078, allocations: 84.14 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.01082, allocations: 19.88 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.01087, allocations: 17.72 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.01103, allocations: 318.8 kB / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.0112, allocations: 35.95 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01136, allocations: 40.03 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.01169, allocations: 80.8 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01169, allocations: 0 / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004002/0.01209, allocations: 113.6 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01211, allocations: 4 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01211, allocations: 4 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.01213, allocations: 0 / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01229, allocations: 31.86 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01229, allocations: 0 / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.0124, allocations: 15.98 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01241, allocations: 7.922 kB / 0.6236 GB, free: 15.25 MB / 0.545 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 9.145e-05/0.01251, allocations: 110.8 kB / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.01252, allocations: 256 / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.01302, allocations: 137.4 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01302, allocations: 8 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01303, allocations: 3.938 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01303, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.01315, allocations: 105.3 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.01315, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.01332, allocations: 23.97 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01332, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01333, allocations: 4 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01333, allocations: 3.938 kB / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01333, allocations: 4 kB / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.01396, allocations: 189 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.014, allocations: 11.97 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01402, allocations: 0 / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.01415, allocations: 11.98 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.01418, allocations: 11.92 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.0142, allocations: 4 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.01424, allocations: 83.34 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01424, allocations: 0 / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000234/0.01447, allocations: 27.88 kB / 0.6243 GB, free: 14.46 MB / 0.545 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.0002513/0.01473, allocations: 139 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.01512, allocations: 79.97 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.01513, allocations: 0 / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.01531, allocations: 43.95 kB / 0.6245 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.01547, allocations: 8 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.01612, allocations: 180.6 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.01619, allocations: 71.34 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.894e-05/0.01628, allocations: 19.94 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.01633, allocations: 12.5 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.01633, allocations: 0 / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of Templates: time 0.004027/0.02036, allocations: 1.201 MB / 0.626 GB, free: 12.68 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.928557682782412] Failed to read output from testmodel.py, exit status != 0: 0.028955478221178055 0.044068597 0.035133168 Calling exit ...