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.0009942/0.0009942, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008577/0.0008577, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8586/0.8586, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-531:190: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-531:198: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.7002/0.7002, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 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.152e-06/1.152e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.515e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009577/0.0009729, allocations: 0.6074 MB / 0.6199 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002195, allocations: 1.427 MB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.002213, allocations: 8 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.002226, allocations: 0 / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.111e-05/0.002247, allocations: 0 / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.00261, allocations: 147.3 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.00267, allocations: 31.97 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.002701, allocations: 4 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.002749, allocations: 19.97 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.002807, allocations: 23.91 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.002822, allocations: 0 / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.003058, allocations: 247.5 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.003073, allocations: 11.91 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.003092, allocations: 11.98 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.003303, allocations: 203.4 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003304, allocations: 0 / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003305, allocations: 0 / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.003308, allocations: 4 kB / 0.622 GB, free: 10.39 MB / 0.5886 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.0003408/0.003649, allocations: 282 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.003681, allocations: 13.47 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.003922, allocations: 68.78 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.184e-05/0.003984, allocations: 109.8 kB / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.004001, allocations: 384 / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.004021, allocations: 8.328 kB / 0.6225 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.004182, allocations: 107.8 kB / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004189, allocations: 192 / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.004199, allocations: 384 / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.004204, allocations: 3.938 kB / 0.6226 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.004349, allocations: 67.92 kB / 0.6226 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.004462, allocations: 109.3 kB / 0.6227 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.004784, allocations: 118.6 kB / 0.6229 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.004865, allocations: 44.92 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.005077, allocations: 79.83 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.005094, allocations: 34.5 kB / 0.623 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.005095, allocations: 4 kB / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0006453/0.00574, allocations: 337 kB / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.005767, allocations: 55.34 kB / 0.6234 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.925e-05/0.005806, allocations: 93.86 kB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.005817, allocations: 25.7 kB / 0.6235 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.005836, allocations: 84.27 kB / 0.6236 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.00586, allocations: 19.89 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.005891, allocations: 17.72 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.005958, allocations: 310.8 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.006035, allocations: 39.95 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.006107, allocations: 35.97 kB / 0.624 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.006255, allocations: 80.98 kB / 0.6241 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006256, allocations: 0 / 0.6241 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001837/0.006439, allocations: 121.5 kB / 0.6242 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.00645, allocations: 4 kB / 0.6242 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006454, allocations: 0 / 0.6242 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.006464, allocations: 4 kB / 0.6242 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.006537, allocations: 23.92 kB / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006541, allocations: 0 / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.006581, allocations: 11.98 kB / 0.6242 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.00659, allocations: 11.98 kB / 0.6242 GB, free: 7.902 MB / 0.5886 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 4.822e-05/0.006638, allocations: 110.8 kB / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.006645, allocations: 0 / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.006885, allocations: 133.3 kB / 0.6245 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006887, allocations: 8.266 kB / 0.6245 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.006893, allocations: 7.938 kB / 0.6245 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006896, allocations: 0 / 0.6245 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.986e-05/0.006966, allocations: 113.3 kB / 0.6246 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006968, allocations: 3.984 kB / 0.6246 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.007038, allocations: 23.97 kB / 0.6246 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.00704, allocations: 0 / 0.6246 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.007048, allocations: 4 kB / 0.6246 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007049, allocations: 3.938 kB / 0.6246 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007049, allocations: 0 / 0.6246 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.007341, allocations: 197 kB / 0.6248 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.007373, allocations: 12.08 kB / 0.6248 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.007385, allocations: 4 kB / 0.6248 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.007434, allocations: 11.98 kB / 0.6248 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.007456, allocations: 7.922 kB / 0.6248 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.007461, allocations: 4 kB / 0.6248 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002562/0.007717, allocations: 87.34 kB / 0.6249 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007717, allocations: 0 / 0.6249 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001474/0.007865, allocations: 27.88 kB / 0.625 GB, free: 7.09 MB / 0.5886 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.000121/0.007986, allocations: 127.1 kB / 0.6251 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.008176, allocations: 80.02 kB / 0.6252 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.008179, allocations: 4 kB / 0.6252 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.008254, allocations: 47.89 kB / 0.6252 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.008356, allocations: 4 kB / 0.6252 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.008698, allocations: 198.5 kB / 0.6254 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.008732, allocations: 67.34 kB / 0.6255 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.008769, allocations: 12.5 kB / 0.6255 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.00877, allocations: 0 / 0.6255 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of Templates: time 0.001726/0.0105, allocations: 1.159 MB / 0.6266 GB, free: 5.344 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.931586914695799] Failed to read output from testmodel.py, exit status != 0: 0.01473293174058199 0.023023854 0.01797367 Calling exit ...