Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008631/0.0008631, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008682/0.0008682, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9259/0.9259, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7635/0.7635, allocations: 154.5 MB / 413.7 MB, free: 0.8555 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.388e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001837/0.00186, allocations: 0.6082 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.004333, allocations: 1.431 MB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.00437, allocations: 0 / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.004395, allocations: 0 / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.004437, allocations: 3.938 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.005249, allocations: 150.8 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.005358, allocations: 27.97 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.00542, allocations: 0 / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.005517, allocations: 27.91 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.005632, allocations: 15.97 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.005658, allocations: 4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.006123, allocations: 247.5 kB / 0.6206 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.00615, allocations: 15.91 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.006181, allocations: 7.984 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.006558, allocations: 199.6 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.006562, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.255e-06/0.006564, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.00657, allocations: 4 kB / 0.6208 GB, free: 10.95 MB / 0.5886 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.0005708/0.007141, allocations: 286 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.007194, allocations: 9.469 kB / 0.6211 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.007244, allocations: 42.73 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.007678, allocations: 64.84 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.007802, allocations: 109.8 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.007838, allocations: 8.25 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.007869, allocations: 12.36 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.008144, allocations: 95.91 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.008154, allocations: 192 / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.008172, allocations: 8.125 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.008178, allocations: 0 / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.008407, allocations: 67.92 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.008612, allocations: 124.8 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.009126, allocations: 122.5 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.009243, allocations: 48.91 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/0.009575, allocations: 79.84 kB / 0.6218 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.009601, allocations: 30.56 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.009603, allocations: 4 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001005/0.01061, allocations: 329 kB / 0.6222 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.01064, allocations: 55.41 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.01071, allocations: 97.84 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01073, allocations: 29.7 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.01076, allocations: 80.14 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01079, allocations: 19.83 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.01085, allocations: 17.72 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.01094, allocations: 318.8 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.01108, allocations: 40.09 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.01119, allocations: 31.97 kB / 0.6228 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.01142, allocations: 80.73 kB / 0.6229 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01143, allocations: 0 / 0.6229 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002851/0.01171, allocations: 121.8 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01173, allocations: 4 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01173, allocations: 3.938 kB / 0.623 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01175, allocations: 4 kB / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01187, allocations: 23.97 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01188, allocations: 4 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.01195, allocations: 11.98 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01196, allocations: 0 / 0.6231 GB, free: 8.383 MB / 0.5886 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 7.654e-05/0.01203, allocations: 114.8 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.01205, allocations: 7.875 kB / 0.6232 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.01245, allocations: 137.3 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01246, allocations: 4 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.01246, allocations: 0 / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01246, allocations: 336 / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.01259, allocations: 136.8 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01259, allocations: 0 / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.01273, allocations: 23.97 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01273, allocations: 11.98 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01275, allocations: 3.938 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01275, allocations: 0 / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01275, allocations: 0 / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.01323, allocations: 184.9 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.01328, allocations: 8.016 kB / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.0133, allocations: 11.88 kB / 0.6237 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.01338, allocations: 16.05 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.01341, allocations: 7.984 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.01342, allocations: 192 / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.01345, allocations: 79.28 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.01345, allocations: 0 / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002476/0.0137, allocations: 35.86 kB / 0.6238 GB, free: 7.535 MB / 0.5886 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.0007667/0.01446, allocations: 0.749 MB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01467, allocations: 83.94 kB / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01467, allocations: 0 / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.01475, allocations: 47.89 kB / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.01486, allocations: 6.578 kB / 0.6247 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.01602, allocations: 1.356 MB / 0.626 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.01606, allocations: 67.28 kB / 0.6261 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.165e-05/0.01612, allocations: 16 kB / 0.6261 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.01617, allocations: 12.5 kB / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.01617, allocations: 0 / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.03212, allocations: 2.752 MB / 0.6288 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/6.854, allocations: 2.625 kB / 0.6288 GB, free: 2.473 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.642717414535582] Failed to read output from testmodel.py, exit status != 0: 6.931863975711167 6.940077349 6.931744965 Calling exit ...