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.001035/0.001035, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001193/0.001193, allocations: 173 kB / 23.49 MB, free: 1.059 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.115/1.115, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8142/0.8142, allocations: 154.8 MB / 415.1 MB, free: 496 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.423e-06/1.423e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.899e-05, allocations: 4.281 kB / 0.5206 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001063/0.001082, allocations: 0.6096 MB / 0.5212 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.002614, allocations: 1.473 MB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.002639, allocations: 1 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.002656, allocations: 0 / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.417e-05/0.002691, allocations: 3.938 kB / 0.5227 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.003127, allocations: 150.6 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.003197, allocations: 19.98 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.003239, allocations: 8.922 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.003297, allocations: 19.98 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.003363, allocations: 25.12 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.00338, allocations: 0 / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.003642, allocations: 255.4 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.003656, allocations: 8.609 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.003678, allocations: 7.984 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.003901, allocations: 201.4 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.003903, allocations: 0 / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003904, allocations: 0 / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003908, allocations: 0 / 0.5233 GB, free: 15.41 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.0004246/0.004332, allocations: 397.3 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.00437, allocations: 8.031 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.004628, allocations: 50.92 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.00472, allocations: 113.3 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.004735, allocations: 1 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.004757, allocations: 8.375 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.004931, allocations: 97.89 kB / 0.524 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004938, allocations: 1.094 kB / 0.524 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.004951, allocations: 8.375 kB / 0.524 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.00496, allocations: 8.406 kB / 0.524 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.005013, allocations: 19.45 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.005161, allocations: 116.6 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.005368, allocations: 59.14 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.005406, allocations: 23.69 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.005578, allocations: 45.22 kB / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.005601, allocations: 37.92 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005602, allocations: 0.9375 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0004631/0.006065, allocations: 219.2 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.006101, allocations: 55.34 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.006175, allocations: 153.9 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.006193, allocations: 30.52 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.006228, allocations: 126.9 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.006261, allocations: 33.52 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.006295, allocations: 23.38 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.00641, allocations: 0.4923 MB / 0.5254 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.006438, allocations: 4 kB / 0.5254 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.006462, allocations: 13.77 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.006522, allocations: 35.88 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006523, allocations: 0 / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.952e-05/0.006623, allocations: 61.69 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.006634, allocations: 4 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006639, allocations: 6.75 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006651, allocations: 0 / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.006723, allocations: 23.86 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.006728, allocations: 0 / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.006761, allocations: 11.98 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.006768, allocations: 1.875 kB / 0.5255 GB, free: 12.94 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 6.635e-05/0.006834, allocations: 164.6 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.006844, allocations: 0 / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.006994, allocations: 90.8 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.006997, allocations: 4.328 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.007002, allocations: 3.938 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007005, allocations: 0 / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.744e-05/0.007083, allocations: 124.6 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.007084, allocations: 3.984 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.007149, allocations: 19.92 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.007151, allocations: 3.125 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.00716, allocations: 7.984 kB / 0.526 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.007161, allocations: 0 / 0.526 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007161, allocations: 0 / 0.526 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.007322, allocations: 124.4 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.007359, allocations: 7.984 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.007376, allocations: 4 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.007417, allocations: 10.97 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.007444, allocations: 7.922 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.007451, allocations: 4 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.007493, allocations: 123.1 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007493, allocations: 0 / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001631/0.007656, allocations: 39.86 kB / 0.5263 GB, free: 12.14 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.0001456/0.007801, allocations: 127 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.007909, allocations: 39.67 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007911, allocations: 0 / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.00795, allocations: 35.61 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.008062, allocations: 4 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.008373, allocations: 154.1 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.949e-05/0.008403, allocations: 61.88 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.883e-05/0.008461, allocations: 19.05 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.008495, allocations: 13.19 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.008495, allocations: 0 / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.002634/0.01113, allocations: 1.214 MB / 0.5279 GB, free: 10.5 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.9213840649463236]