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.0006014/0.0006014, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009242/0.001526, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006867/0.0006867, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009436/0.00163, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9313/0.9313, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08791/1.019, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.828/0.828, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.28/1.108, allocations: 49.13 MB / 448.4 MB, free: 6.035 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.5469 kB / 449.8 MB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.066e-05, allocations: 3.469 kB / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00149/0.00151, allocations: 0.6564 MB / 450.4 MB, free: 4.055 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.002957, allocations: 1.486 MB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.002976, allocations: 1.406 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.109e-06/0.002981, allocations: 4.703 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.217e-06/0.00299, allocations: 0 / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.003308, allocations: 132.5 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.003378, allocations: 29.83 kB / 452.1 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.00342, allocations: 9.844 kB / 452.1 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.003488, allocations: 20.75 kB / 452.1 MB, free: 2.391 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.003563, allocations: 28.81 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003579, allocations: 0.875 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.003901, allocations: 263.1 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.003917, allocations: 4.656 kB / 452.4 MB, free: 2.109 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.003934, allocations: 4 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.004159, allocations: 160.2 kB / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.004174, allocations: 1.281 kB / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004175, allocations: 0 / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.004193, allocations: 0 / 452.5 MB, free: 1.949 MB / 426.7 MB 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.0004414/0.004635, allocations: 284.8 kB / 452.8 MB, free: 1.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.004666, allocations: 10 kB / 452.8 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.004948, allocations: 133.2 kB / 453 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.005046, allocations: 105.8 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.005064, allocations: 6.031 kB / 453.1 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.005086, allocations: 4.375 kB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.005242, allocations: 98.05 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.00525, allocations: 192 / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.005258, allocations: 384 / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005265, allocations: 7.922 kB / 453.2 MB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.005303, allocations: 12.78 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.396e-05/0.005397, allocations: 65.05 kB / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.005566, allocations: 48.08 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.005587, allocations: 12.86 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.005738, allocations: 52.27 kB / 453.4 MB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.005763, allocations: 34.55 kB / 453.4 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.005764, allocations: 0 / 453.4 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004094/0.006174, allocations: 202.5 kB / 453.6 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.006205, allocations: 55.39 kB / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.006253, allocations: 107.8 kB / 453.8 MB, free: 0.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.006268, allocations: 25.7 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.00629, allocations: 80.14 kB / 453.9 MB, free: 480 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.00632, allocations: 20.47 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.006363, allocations: 22.28 kB / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.006438, allocations: 318.8 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.006459, allocations: 4.656 kB / 454.2 MB, free: 100 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.006478, allocations: 8.516 kB / 454.2 MB, free: 92 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.006524, allocations: 25.41 kB / 454.3 MB, free: 64 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.006525, allocations: 192 / 454.3 MB, free: 64 kB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.943e-05/0.006594, allocations: 54.31 kB / 454.3 MB, free: 4 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.006623, allocations: 8.797 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006628, allocations: 3.938 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.006638, allocations: 1.219 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.006724, allocations: 19.94 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006727, allocations: 0 / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.006757, allocations: 12.64 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006762, allocations: 0.9062 kB / 454.4 MB, free: 15.96 MB / 442.7 MB 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 6.268e-05/0.006825, allocations: 114.8 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.006837, allocations: 4 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.006983, allocations: 73.27 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.006986, allocations: 0 / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.006989, allocations: 7.922 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.006994, allocations: 3.938 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.233e-05/0.007086, allocations: 74.92 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007088, allocations: 0 / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.007173, allocations: 16.7 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.007208, allocations: 12.89 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.00721, allocations: 0 / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.007218, allocations: 0 / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.00722, allocations: 4.594 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.007222, allocations: 0 / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.007366, allocations: 90.47 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.007381, allocations: 7.984 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.00742, allocations: 8.969 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.007441, allocations: 7.922 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.00745, allocations: 8.75 kB / 454.8 MB, free: 15.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.149e-05/0.007462, allocations: 6.797 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007462, allocations: 0 / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.007612, allocations: 31.86 kB / 454.8 MB, free: 15.45 MB / 442.7 MB 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.0001884/0.0078, allocations: 108.3 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.34e-05/0.007894, allocations: 37.42 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.007899, allocations: 0.5938 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.007927, allocations: 26.22 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.142e-05/0.008008, allocations: 11.94 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.008283, allocations: 137.5 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.88e-05/0.008312, allocations: 63.77 kB / 455.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.748e-05/0.008369, allocations: 20.67 kB / 455.2 MB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.00843, allocations: 56.38 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.00843, allocations: 0 / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of Templates: time 0.003127/0.01156, allocations: 1.323 MB / 456.6 MB, free: 13.72 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6494908863678575]