Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006941/0.0006941, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008779/0.001572, 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.001049/0.001049, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.00238, 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.9652/0.9652, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/1.09, allocations: 53.66 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.9057/0.9057, 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.3276/1.233, allocations: 49.12 MB / 448.4 MB, free: 6.039 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0.7656 kB / 449.8 MB, free: 4.684 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.134e-05, allocations: 2.312 kB / 449.8 MB, free: 4.68 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001661/0.001683, allocations: 0.8452 MB / 450.6 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.003148, allocations: 1.51 MB / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.003186, allocations: 0 / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.003212, allocations: 3.938 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.718e-05/0.003239, allocations: 0.7656 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.003579, allocations: 140.5 kB / 452.3 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.003662, allocations: 56.27 kB / 452.3 MB, free: 2.176 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.003704, allocations: 7.75 kB / 452.3 MB, free: 2.172 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.003833, allocations: 34.81 kB / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.003895, allocations: 26.25 kB / 452.4 MB, free: 2.117 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.003911, allocations: 8.906 kB / 452.4 MB, free: 2.109 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.004219, allocations: 259.4 kB / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.004236, allocations: 12.94 kB / 452.7 MB, free: 1.844 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.004256, allocations: 12 kB / 452.7 MB, free: 1.832 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.004496, allocations: 179.5 kB / 452.8 MB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.004511, allocations: 0.875 kB / 452.8 MB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.004512, allocations: 4 kB / 452.8 MB, free: 1.652 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.00453, allocations: 0.5 kB / 452.8 MB, free: 1.652 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004848/0.005015, allocations: 322.6 kB / 453.2 MB, free: 1.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.005044, allocations: 9.312 kB / 453.2 MB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.005288, allocations: 144.6 kB / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.005369, allocations: 109.7 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.005386, allocations: 384 / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.005405, allocations: 12.94 kB / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.005596, allocations: 147.4 kB / 453.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005606, allocations: 1.562 kB / 453.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.005619, allocations: 5.5 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005626, allocations: 7.938 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.005672, allocations: 19.98 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.005967, allocations: 209.1 kB / 453.8 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.006082, allocations: 64.16 kB / 453.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.006105, allocations: 20.84 kB / 453.9 MB, free: 0.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.006117, allocations: 4.531 kB / 453.9 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.006139, allocations: 38.5 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.006141, allocations: 1.438 kB / 453.9 MB, free: 460 kB / 426.7 MB 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.007597/0.01374, allocations: 2.152 MB / 456.1 MB, free: 14.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.01376, allocations: 52.25 kB / 456.1 MB, free: 14.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.01382, allocations: 112.5 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.01385, allocations: 30.45 kB / 456.3 MB, free: 14.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.01388, allocations: 84.09 kB / 456.4 MB, free: 13.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.01393, allocations: 49.16 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01404, allocations: 57.58 kB / 456.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.01411, allocations: 318.8 kB / 456.8 MB, free: 13.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.01422, allocations: 91.94 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.01433, allocations: 103.2 kB / 457 MB, free: 13.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.01457, allocations: 224.6 kB / 457.2 MB, free: 13.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01457, allocations: 1.094 kB / 457.2 MB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002996/0.01487, allocations: 253.1 kB / 457.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.01488, allocations: 4 kB / 457.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.01489, allocations: 0 / 457.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.0149, allocations: 0.625 kB / 457.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.01526, allocations: 125.5 kB / 457.6 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01527, allocations: 4 kB / 457.6 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.01546, allocations: 34.61 kB / 457.6 MB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.01549, allocations: 19.94 kB / 457.6 MB, free: 12.72 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 (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 9.044e-05/0.01558, allocations: 117.7 kB / 457.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.01563, allocations: 8.797 kB / 457.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.01567, allocations: 16.12 kB / 457.8 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01567, allocations: 0 / 457.8 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01568, allocations: 4.719 kB / 457.8 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01568, allocations: 0 / 457.8 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.01621, allocations: 463.5 kB / 458.2 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01621, allocations: 1.5 kB / 458.2 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.01657, allocations: 125.6 kB / 458.3 MB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.01664, allocations: 23.91 kB / 458.4 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01664, allocations: 0 / 458.4 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.01667, allocations: 23.92 kB / 458.4 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01667, allocations: 80 / 458.4 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01667, allocations: 5.234 kB / 458.4 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.01717, allocations: 456 kB / 458.8 MB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.01721, allocations: 8 kB / 458.8 MB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.01743, allocations: 29.2 kB / 458.9 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.01748, allocations: 26.91 kB / 458.9 MB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.01751, allocations: 23.92 kB / 458.9 MB, free: 11.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.113e-05/0.01752, allocations: 8.859 kB / 458.9 MB, free: 11.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01752, allocations: 0.625 kB / 458.9 MB, free: 11.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.01774, allocations: 55.94 kB / 459 MB, free: 11.3 MB / 442.7 MB 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.0001349/0.01787, allocations: 97.2 kB / 459.1 MB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.01817, allocations: 237.7 kB / 459.3 MB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01818, allocations: 1.188 kB / 459.3 MB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.01833, allocations: 132.7 kB / 459.4 MB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.01851, allocations: 58.09 kB / 459.5 MB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.01995, allocations: 0.5671 MB / 460.1 MB, free: 10.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.01999, allocations: 68.45 kB / 460.1 MB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.02029, allocations: 90.86 kB / 460.2 MB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.02054, allocations: 97.7 kB / 460.3 MB, free: 10.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02055, allocations: 0 / 460.3 MB, free: 10.01 MB / 442.7 MB Notification: Performance of Templates: time 0.005959/0.02651, allocations: 3.876 MB / 464.2 MB, free: 6.285 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8918644934892654]