Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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.002379/0.002379, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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 1.541/1.541, allocations: 177.1 MB / 199.7 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 178] 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.002045/0.002045, allocations: 155.7 kB / 256.3 MB, free: 13.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.503/0.503, allocations: 80.25 MB / 393 MB, free: 2.227 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 489.1 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.446e-05, allocations: 6.312 kB / 489.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.007834/0.007859, allocations: 5.768 MB / 494.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004307/0.01217, allocations: 1.79 MB / 496.7 MB, free: 4.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.01273, allocations: 9.031 kB / 496.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.01328, allocations: 218.1 kB / 496.9 MB, free: 3.969 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.01516, allocations: 0.7576 MB / 497.7 MB, free: 3.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.01643, allocations: 0.5628 MB / 498.2 MB, free: 2.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.01808, allocations: 1.381 MB / 499.6 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.01846, allocations: 191.8 kB / 499.8 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.01955, allocations: 0.7909 MB / 0.4888 GB, free: 288 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008209/0.02037, allocations: 0.5547 MB / 0.4894 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.02054, allocations: 96 kB / 0.4895 GB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.02105, allocations: 243.8 kB / 0.4897 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.02132, allocations: 262.8 kB / 0.49 GB, free: 15.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.02177, allocations: 395.9 kB / 0.4903 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.02375, allocations: 1.51 MB / 0.4918 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02376, allocations: 0 / 0.4918 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02376, allocations: 1.562 kB / 0.4918 GB, free: 13.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.02378, allocations: 0 / 0.4918 GB, free: 13.23 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008676/0.03245, allocations: 2.599 MB / 0.4944 GB, free: 10.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.0325, allocations: 8.594 kB / 0.4944 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/0.03751, allocations: 0.9004 MB / 0.4952 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.03894, allocations: 0.7103 MB / 0.4959 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.03931, allocations: 303.5 kB / 0.4962 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.03947, allocations: 75.95 kB / 0.4963 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.04184, allocations: 1.08 MB / 0.4974 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.04186, allocations: 0 / 0.4974 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.04196, allocations: 35.92 kB / 0.4974 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.04199, allocations: 24 kB / 0.4974 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.04432, allocations: 0.9721 MB / 0.4984 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.05024, allocations: 2.51 MB / 0.5008 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.05297, allocations: 0.945 MB / 0.5017 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.05448, allocations: 0.6631 MB / 0.5024 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.0546, allocations: 17 kB / 0.5024 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.05464, allocations: 50.39 kB / 0.5024 GB, free: 2.168 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.266e-06/0.05465, allocations: 0 / 0.5024 GB, free: 2.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.03011/0.08475, allocations: 6.521 MB / 0.5088 GB, free: 11.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.08482, allocations: 60.41 kB / 0.5089 GB, free: 11.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.08635, allocations: 1.009 MB / 0.5099 GB, free: 10.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.08655, allocations: 41.7 kB / 0.5099 GB, free: 10.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000531/0.08708, allocations: 0.535 MB / 0.5104 GB, free: 9.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004768/0.08756, allocations: 369 kB / 0.5108 GB, free: 9.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/0.08804, allocations: 224.6 kB / 0.511 GB, free: 9.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003211/0.08837, allocations: 0.5433 MB / 0.5115 GB, free: 8.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.08998, allocations: 0.6429 MB / 0.5121 GB, free: 8.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.09185, allocations: 0.8273 MB / 0.5129 GB, free: 7.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/0.09519, allocations: 1.529 MB / 0.5144 GB, free: 5.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.0952, allocations: 0 / 0.5144 GB, free: 5.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01615/0.1113, allocations: 3.879 MB / 0.5182 GB, free: 1.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.1114, allocations: 8 kB / 0.5182 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1114, allocations: 4 kB / 0.5182 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/0.1244, allocations: 2.434 MB / 0.5206 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/0.1254, allocations: 171.7 kB / 0.5208 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/0.151, allocations: 9.697 MB / 0.5303 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.1524, allocations: 143.3 kB / 0.5304 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.1526, allocations: 39.98 kB / 0.5304 GB, free: 5.203 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005099/0.1531, allocations: 268.4 kB / 0.5307 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.1534, allocations: 139.3 kB / 0.5308 GB, free: 4.793 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.1669, allocations: 3.576 MB / 0.5343 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.167, allocations: 12 kB / 0.5343 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.167, allocations: 3.938 kB / 0.5343 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.167, allocations: 3.984 kB / 0.5343 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.1824, allocations: 4.639 MB / 0.5389 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.1824, allocations: 4 kB / 0.5389 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.183, allocations: 87.89 kB / 0.5389 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01186/0.1949, allocations: 2.36 MB / 0.5413 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.1951, allocations: 16 kB / 0.5413 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02159/0.2167, allocations: 8.426 MB / 0.5495 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2167, allocations: 0 / 0.5495 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.2321, allocations: 4.519 MB / 0.5539 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.2325, allocations: 127 kB / 0.554 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.2327, allocations: 20 kB / 0.554 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.2337, allocations: 71.92 kB / 0.5541 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006721/0.2343, allocations: 200.6 kB / 0.5543 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.176e-05/0.2344, allocations: 31.92 kB / 0.5543 GB, free: 12.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009616/0.2354, allocations: 0.6443 MB / 0.555 GB, free: 11.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2354, allocations: 0 / 0.555 GB, free: 11.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001514/0.2369, allocations: 435.7 kB / 0.5554 GB, free: 11.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003116/0.2372, allocations: 139 kB / 0.5555 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007032/0.2442, allocations: 2.331 MB / 0.5578 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2442, allocations: 0 / 0.5578 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004986/0.2492, allocations: 1.543 MB / 0.5593 GB, free: 7.332 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.25, allocations: 99.42 kB / 0.5594 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.2539, allocations: 1.952 MB / 0.5613 GB, free: 5.254 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.2545, allocations: 468.1 kB / 0.5617 GB, free: 4.758 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.2548, allocations: 86.69 kB / 0.5618 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.255, allocations: 64.48 kB / 0.5619 GB, free: 4.605 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/0.255, allocations: 0 / 0.5619 GB, free: 4.605 MB / 490.7 MB Notification: Performance of Templates: time 0.04617/0.3012, allocations: 26.43 MB / 0.5877 GB, free: 10.2 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.565675045014359]