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.002558/0.002558, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 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.002138/0.002138, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-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 master/package.mo): time 1.328/1.328, allocations: 154.8 MB / 414.4 MB, free: 472 kB / 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 178] 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: 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 2.265e-06/2.265e-06, allocations: 0 / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.766e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002999/0.003037, allocations: 0.7868 MB / 0.5207 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.006579, allocations: 1.48 MB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.006621, allocations: 0 / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.006649, allocations: 0 / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.006721, allocations: 5.188 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.007526, allocations: 149.5 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.00767, allocations: 49.72 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.007726, allocations: 11.97 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.007865, allocations: 35.84 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.007959, allocations: 27.95 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.007987, allocations: 4 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006857/0.008673, allocations: 252 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.008706, allocations: 12.88 kB / 0.5227 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.00876, allocations: 19.92 kB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.009339, allocations: 223.4 kB / 0.5229 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.009343, allocations: 1 kB / 0.5229 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.009345, allocations: 0 / 0.5229 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.009351, allocations: 4.812 kB / 0.5229 GB, free: 15.22 MB / 0.4948 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.0009791/0.01033, allocations: 423.8 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.01038, allocations: 13.06 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.01097, allocations: 55.45 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01114, allocations: 116.5 kB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.01117, allocations: 9.062 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.01122, allocations: 4.375 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.01173, allocations: 146.9 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.01175, allocations: 5.203 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.01178, allocations: 4.375 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.01179, allocations: 11.92 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/0.01238, allocations: 78.12 kB / 0.5237 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008983/0.01328, allocations: 326.1 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.01405, allocations: 128.9 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.01434, allocations: 49.09 kB / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.01437, allocations: 4 kB / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.01442, allocations: 33.39 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.01442, allocations: 0.5 kB / 0.5242 GB, free: 13.71 MB / 0.4948 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.02719/0.04161, allocations: 2.485 MB / 0.5267 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.04168, allocations: 55.41 kB / 0.5267 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.04189, allocations: 163.3 kB / 0.5269 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.04197, allocations: 25.7 kB / 0.5269 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.04212, allocations: 146.8 kB / 0.527 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.04223, allocations: 34.05 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.04254, allocations: 79.19 kB / 0.5271 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003824/0.04292, allocations: 0.4961 MB / 0.5276 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009524/0.04387, allocations: 217.4 kB / 0.5278 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/0.04485, allocations: 220.4 kB / 0.5281 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.04681, allocations: 434.2 kB / 0.5285 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.04681, allocations: 0 / 0.5285 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002447/0.04926, allocations: 0.5189 MB / 0.529 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.04929, allocations: 7.984 kB / 0.529 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.04929, allocations: 1.016 kB / 0.529 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.04932, allocations: 1.062 kB / 0.529 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.05056, allocations: 88.64 kB / 0.5291 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.05057, allocations: 4.656 kB / 0.5291 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.05145, allocations: 33.48 kB / 0.5291 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.05155, allocations: 23.94 kB / 0.5291 GB, free: 8.66 MB / 0.4948 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.000327/0.05188, allocations: 170 kB / 0.5293 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.05207, allocations: 11.94 kB / 0.5293 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.05215, allocations: 12.12 kB / 0.5293 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.05216, allocations: 4.875 kB / 0.5293 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.05216, allocations: 0 / 0.5293 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.05217, allocations: 0 / 0.5293 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.05576, allocations: 1.044 MB / 0.5303 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.05576, allocations: 2.375 kB / 0.5303 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.05703, allocations: 99.75 kB / 0.5304 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.05704, allocations: 3.938 kB / 0.5304 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.05714, allocations: 25.06 kB / 0.5305 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.05714, allocations: 0 / 0.5305 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.05715, allocations: 0 / 0.5305 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.06085, allocations: 0.905 MB / 0.5313 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.06111, allocations: 40.58 kB / 0.5314 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.06122, allocations: 4 kB / 0.5314 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009533/0.06217, allocations: 30.95 kB / 0.5314 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.06234, allocations: 27.92 kB / 0.5314 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.06245, allocations: 32.06 kB / 0.5315 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001239/0.06258, allocations: 131.1 kB / 0.5316 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.06258, allocations: 0 / 0.5316 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006643/0.06324, allocations: 57.09 kB / 0.5317 GB, free: 5.969 MB / 0.4948 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.000317/0.06356, allocations: 108.5 kB / 0.5318 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.06578, allocations: 475.5 kB / 0.5322 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.06579, allocations: 9.062 kB / 0.5322 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.0669, allocations: 249.4 kB / 0.5325 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.06752, allocations: 36.89 kB / 0.5325 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/0.07356, allocations: 0.6875 MB / 0.5332 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.14e-05/0.07365, allocations: 80.95 kB / 0.5332 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005383/0.07419, allocations: 99.45 kB / 0.5333 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.07446, allocations: 56.38 kB / 0.5334 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/0.07446, allocations: 3.938 kB / 0.5334 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of Templates: time 0.008514/0.08297, allocations: 3.761 MB / 0.5371 GB, free: 464 kB / 0.4948 GB " [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: 6.196544712991454]