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.001202/0.001202, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001253/0.001253, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.516 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-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 0.7628/0.7628, allocations: 154.9 MB / 415.9 MB, free: 272 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 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: 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.252e-06/1.252e-06, allocations: 0 / 0.522 GB, free: 1.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.221e-05, allocations: 4 kB / 0.522 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.004497/0.004519, allocations: 0.6067 MB / 0.5226 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.006208, allocations: 1.46 MB / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.006231, allocations: 0.5625 kB / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.006246, allocations: 3.938 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.006271, allocations: 0.5625 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.006706, allocations: 142.7 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.006768, allocations: 27.98 kB / 0.5241 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.875e-05/0.006796, allocations: 1.156 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.006853, allocations: 31.89 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.006912, allocations: 15.97 kB / 0.5242 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.006924, allocations: 5.406 kB / 0.5242 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.007236, allocations: 251.4 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.00725, allocations: 3.984 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.008308, allocations: 11.98 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.008602, allocations: 204.3 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.008605, allocations: 0 / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.103e-06/0.008607, allocations: 1.281 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.00861, allocations: 0 / 0.5247 GB, free: 14.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003804/0.00899, allocations: 391.9 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.009023, allocations: 9.375 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.009292, allocations: 51.75 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.009373, allocations: 108.6 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.009386, allocations: 8.297 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.009406, allocations: 10.53 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.009559, allocations: 92.62 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.009565, allocations: 192 / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.009573, allocations: 1.844 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.009582, allocations: 11.92 kB / 0.5253 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.009626, allocations: 11.94 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.009749, allocations: 105.2 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.009893, allocations: 56.08 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.00992, allocations: 20.7 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.01007, allocations: 50.34 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.01008, allocations: 41.98 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.01008, allocations: 0 / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0003288/0.01041, allocations: 211.7 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.01044, allocations: 55.34 kB / 0.5258 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.346e-05/0.01049, allocations: 164.3 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.0105, allocations: 25.7 kB / 0.526 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.01053, allocations: 126.9 kB / 0.5261 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.01055, allocations: 11.84 kB / 0.5261 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.01059, allocations: 35.34 kB / 0.5262 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01069, allocations: 492.1 kB / 0.5267 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.01071, allocations: 11.98 kB / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.01073, allocations: 6.875 kB / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.01077, allocations: 27.69 kB / 0.5267 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01077, allocations: 3.984 kB / 0.5267 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.438e-05/0.01086, allocations: 65.58 kB / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.01087, allocations: 8 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.01087, allocations: 0 / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.01088, allocations: 1.016 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.01094, allocations: 17.27 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.01094, allocations: 3.938 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.01098, allocations: 11.98 kB / 0.5268 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.01099, allocations: 2.688 kB / 0.5268 GB, free: 12.17 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 (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 5.652e-05/0.01104, allocations: 156.6 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.01105, allocations: 7.938 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.01118, allocations: 84.14 kB / 0.527 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01119, allocations: 0 / 0.527 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01119, allocations: 0 / 0.527 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01119, allocations: 5.219 kB / 0.527 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.75e-05/0.01127, allocations: 117.2 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01127, allocations: 5.25 kB / 0.5272 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.01133, allocations: 19.98 kB / 0.5272 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.01133, allocations: 0 / 0.5272 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.01134, allocations: 1.594 kB / 0.5272 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01134, allocations: 4 kB / 0.5272 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01134, allocations: 0 / 0.5272 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.01147, allocations: 109 kB / 0.5273 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.0115, allocations: 11.94 kB / 0.5273 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.01151, allocations: 0.6562 kB / 0.5273 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.01155, allocations: 16.58 kB / 0.5273 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.01157, allocations: 7.984 kB / 0.5273 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.01157, allocations: 1.5 kB / 0.5273 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.0116, allocations: 123.2 kB / 0.5274 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.0116, allocations: 0 / 0.5274 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001524/0.01175, allocations: 28.47 kB / 0.5275 GB, free: 11.43 MB / 0.4948 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.0001295/0.01188, allocations: 140.7 kB / 0.5276 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.358e-05/0.01196, allocations: 31.67 kB / 0.5276 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01196, allocations: 0 / 0.5276 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.01199, allocations: 32.83 kB / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.798e-05/0.01209, allocations: 4 kB / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.01233, allocations: 155.1 kB / 0.5278 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.292e-05/0.01235, allocations: 56.27 kB / 0.5279 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.155e-05/0.01241, allocations: 22.3 kB / 0.5279 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.01247, allocations: 74.2 kB / 0.528 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01247, allocations: 0 / 0.528 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.002407/0.01487, allocations: 1.349 MB / 0.5293 GB, free: 9.594 MB / 0.4948 GB " [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.796985890250653]