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.000931/0.000931, allocations: 93.06 kB / 19.65 MB, free: 272 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 0.8936/0.8936, allocations: 177.1 MB / 200 MB, free: 3.949 MB / 186.7 MB " [Timeout remaining time 179] 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.001177/0.001177, allocations: 161.2 kB / 256.6 MB, free: 224 kB / 234.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.3748/0.3748, allocations: 80.22 MB / 393.4 MB, free: 9.965 MB / 314.7 MB " [Timeout remaining time 180] 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.313e-06/1.313e-06, allocations: 3.938 kB / 489.8 MB, free: 9.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.644e-05, allocations: 2.312 kB / 489.8 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004346/0.004362, allocations: 5.811 MB / 495.6 MB, free: 3.996 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.006665, allocations: 1.794 MB / 497.4 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.00694, allocations: 15.94 kB / 497.4 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.007281, allocations: 210.1 kB / 497.7 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.008328, allocations: 0.7609 MB / 498.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.009007, allocations: 0.5652 MB / 499 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1607/0.1697, allocations: 1.375 MB / 0.4886 GB, free: 45.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.1701, allocations: 194.5 kB / 0.4888 GB, free: 45.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.1712, allocations: 0.7848 MB / 0.4896 GB, free: 45.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.1719, allocations: 0.5554 MB / 0.4901 GB, free: 44.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.172, allocations: 97.22 kB / 0.4902 GB, free: 44.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.1725, allocations: 241.5 kB / 0.4904 GB, free: 44.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1726, allocations: 271.3 kB / 0.4907 GB, free: 44.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.1729, allocations: 398.9 kB / 0.4911 GB, free: 44.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.174, allocations: 1.099 MB / 0.4922 GB, free: 44.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.174, allocations: 4.875 kB / 0.4922 GB, free: 44.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.174, allocations: 0 / 0.4922 GB, free: 44.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.174, allocations: 0 / 0.4922 GB, free: 44.67 MB / 410.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.005186/0.1792, allocations: 2.538 MB / 0.4946 GB, free: 43.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1792, allocations: 8.719 kB / 0.4946 GB, free: 43.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/0.1829, allocations: 0.9023 MB / 0.4955 GB, free: 43.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.1837, allocations: 0.6782 MB / 0.4962 GB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.1839, allocations: 298.5 kB / 0.4965 GB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.184, allocations: 75.11 kB / 0.4965 GB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.1851, allocations: 0.7281 MB / 0.4973 GB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1851, allocations: 0 / 0.4973 GB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.1852, allocations: 27.84 kB / 0.4973 GB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1852, allocations: 24.8 kB / 0.4973 GB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009153/0.1861, allocations: 473.5 kB / 0.4978 GB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.1892, allocations: 2.194 MB / 0.4999 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1904, allocations: 0.5952 MB / 0.5005 GB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.1909, allocations: 343.2 kB / 0.5008 GB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/0.191, allocations: 21.44 kB / 0.5008 GB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.191, allocations: 45.2 kB / 0.5009 GB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.305e-06/0.191, allocations: 0.5312 kB / 0.5009 GB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.01547/0.2065, allocations: 5.307 MB / 0.5061 GB, free: 41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.2065, allocations: 60.97 kB / 0.5061 GB, free: 40.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.2072, allocations: 0.8205 MB / 0.5069 GB, free: 40.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.2073, allocations: 40.33 kB / 0.507 GB, free: 40.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.2075, allocations: 0.5014 MB / 0.5074 GB, free: 40.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.2077, allocations: 350.3 kB / 0.5078 GB, free: 39.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.208, allocations: 203 kB / 0.508 GB, free: 39.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.208, allocations: 0.5185 MB / 0.5085 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/0.2086, allocations: 309.7 kB / 0.5088 GB, free: 39.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.2092, allocations: 474.2 kB / 0.5092 GB, free: 39.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2104, allocations: 0.8178 MB / 0.51 GB, free: 38.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2104, allocations: 0 / 0.51 GB, free: 38.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.006897/0.2173, allocations: 2.91 MB / 0.5129 GB, free: 38.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2174, allocations: 12.44 kB / 0.5129 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2174, allocations: 2.844 kB / 0.5129 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006591/0.224, allocations: 1.982 MB / 0.5148 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.2245, allocations: 175.9 kB / 0.515 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/0.234, allocations: 5.135 MB / 0.52 GB, free: 35.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.2347, allocations: 141.3 kB / 0.5201 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/0.2348, allocations: 38.84 kB / 0.5202 GB, free: 35.03 MB / 410.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.0002204/0.235, allocations: 211 kB / 0.5204 GB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2352, allocations: 139 kB / 0.5205 GB, free: 34.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006732/0.2419, allocations: 2.686 MB / 0.5231 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.2419, allocations: 10.03 kB / 0.5231 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2419, allocations: 0.5625 kB / 0.5231 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.2419, allocations: 4.5 kB / 0.5231 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.2522, allocations: 3.559 MB / 0.5266 GB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2523, allocations: 0 / 0.5266 GB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.2527, allocations: 89.66 kB / 0.5267 GB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00877/0.2615, allocations: 1.918 MB / 0.5286 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/0.2616, allocations: 15.47 kB / 0.5286 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.272, allocations: 4.55 MB / 0.533 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.272, allocations: 0 / 0.533 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/0.2771, allocations: 3.09 MB / 0.5361 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2773, allocations: 134.5 kB / 0.5362 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.2773, allocations: 16 kB / 0.5362 GB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.2777, allocations: 75.92 kB / 0.5363 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.278, allocations: 200.6 kB / 0.5365 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.2781, allocations: 24 kB / 0.5365 GB, free: 28.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003483/0.2784, allocations: 0.5154 MB / 0.537 GB, free: 28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2784, allocations: 0 / 0.537 GB, free: 28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007999/0.2792, allocations: 443.7 kB / 0.5374 GB, free: 27.57 MB / 410.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.0001889/0.2794, allocations: 129 kB / 0.5375 GB, free: 27.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.2817, allocations: 1.657 MB / 0.5391 GB, free: 25.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2817, allocations: 0.5 kB / 0.5391 GB, free: 25.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.2834, allocations: 1.195 MB / 0.5403 GB, free: 24.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.2838, allocations: 91.97 kB / 0.5404 GB, free: 24.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2858, allocations: 1.801 MB / 0.5422 GB, free: 22.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2859, allocations: 213 kB / 0.5424 GB, free: 22.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.2861, allocations: 85.36 kB / 0.5424 GB, free: 22.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.2862, allocations: 64.48 kB / 0.5425 GB, free: 22.31 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2862, allocations: 0 / 0.5425 GB, free: 22.31 MB / 410.7 MB Notification: Performance of Templates: time 0.0212/0.3074, allocations: 26.43 MB / 0.5683 GB, free: 12.02 MB / 426.7 MB " [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: 4.018829740118235]