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.001175/0.001175, allocations: 93.06 kB / 19.65 MB, free: 280 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.9049/0.9049, allocations: 177.2 MB / 200 MB, free: 5.535 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.001091/0.001091, allocations: 156.6 kB / 256.6 MB, free: 13 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.2782/0.2782, allocations: 80.24 MB / 393.4 MB, free: 3.195 MB / 362.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.813e-06/1.813e-06, allocations: 0.7656 kB / 489.8 MB, free: 63.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.778e-05, allocations: 2.312 kB / 489.8 MB, free: 63.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005175/0.005193, allocations: 5.825 MB / 495.6 MB, free: 57.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.007769, allocations: 1.8 MB / 497.4 MB, free: 55.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.008106, allocations: 8.688 kB / 497.4 MB, free: 55.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.008499, allocations: 218.1 kB / 497.7 MB, free: 55.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.00981, allocations: 0.7762 MB / 498.4 MB, free: 54.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.01071, allocations: 0.5596 MB / 499 MB, free: 53.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007947/0.0115, allocations: 1.381 MB / 0.4886 GB, free: 52.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.01174, allocations: 183.8 kB / 0.4888 GB, free: 52.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/0.01235, allocations: 0.8031 MB / 0.4896 GB, free: 51.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.01275, allocations: 0.5574 MB / 0.4901 GB, free: 51.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.641e-05/0.01284, allocations: 96 kB / 0.4902 GB, free: 50.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.01309, allocations: 236.5 kB / 0.4905 GB, free: 50.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.0132, allocations: 271.5 kB / 0.4907 GB, free: 50.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.01338, allocations: 394.7 kB / 0.4911 GB, free: 50.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.01409, allocations: 1.102 MB / 0.4922 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01409, allocations: 0 / 0.4922 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01409, allocations: 0 / 0.4922 GB, free: 48.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.01411, allocations: 0 / 0.4922 GB, free: 48.95 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.003767/0.01788, allocations: 2.538 MB / 0.4947 GB, free: 46.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.01792, allocations: 12.03 kB / 0.4947 GB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.02043, allocations: 0.9069 MB / 0.4956 GB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.02107, allocations: 0.678 MB / 0.4962 GB, free: 44.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.02122, allocations: 299.6 kB / 0.4965 GB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.02131, allocations: 79.94 kB / 0.4966 GB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.02217, allocations: 0.7217 MB / 0.4973 GB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.02218, allocations: 0.7812 kB / 0.4973 GB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.02224, allocations: 31.94 kB / 0.4973 GB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.02225, allocations: 16 kB / 0.4973 GB, free: 43.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.0229, allocations: 477.4 kB / 0.4978 GB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.02527, allocations: 2.19 MB / 0.4999 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.02619, allocations: 0.6022 MB / 0.5005 GB, free: 40.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.02658, allocations: 343.1 kB / 0.5008 GB, free: 39.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-05/0.02666, allocations: 21.89 kB / 0.5009 GB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.02668, allocations: 46.39 kB / 0.5009 GB, free: 39.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.044e-06/0.02668, allocations: 0 / 0.5009 GB, free: 39.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.0111/0.03778, allocations: 5.302 MB / 0.5061 GB, free: 34.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.0378, allocations: 60.41 kB / 0.5061 GB, free: 34.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.03831, allocations: 0.8096 MB / 0.5069 GB, free: 33.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.03836, allocations: 41.7 kB / 0.507 GB, free: 33.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.03854, allocations: 0.5076 MB / 0.5075 GB, free: 33.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.03869, allocations: 349 kB / 0.5078 GB, free: 32.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.03892, allocations: 204.5 kB / 0.508 GB, free: 32.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.03898, allocations: 0.5199 MB / 0.5085 GB, free: 32.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.03939, allocations: 306.5 kB / 0.5088 GB, free: 31.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.03985, allocations: 471.4 kB / 0.5092 GB, free: 31.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008529/0.0407, allocations: 0.8188 MB / 0.51 GB, free: 30.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.0407, allocations: 3.984 kB / 0.51 GB, free: 30.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004919/0.04562, allocations: 2.918 MB / 0.5129 GB, free: 27.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.04564, allocations: 4 kB / 0.5129 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.04565, allocations: 8 kB / 0.5129 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004767/0.05042, allocations: 1.985 MB / 0.5148 GB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.05083, allocations: 163.8 kB / 0.515 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006918/0.05774, allocations: 5.148 MB / 0.52 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.05832, allocations: 143.3 kB / 0.5202 GB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.05838, allocations: 39.97 kB / 0.5202 GB, free: 19.85 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.0002123/0.05859, allocations: 208.4 kB / 0.5204 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.05874, allocations: 139.2 kB / 0.5205 GB, free: 19.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.06334, allocations: 2.69 MB / 0.5232 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.06334, allocations: 8 kB / 0.5232 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.06335, allocations: 7.938 kB / 0.5232 GB, free: 16.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.06335, allocations: 3.984 kB / 0.5232 GB, free: 16.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005298/0.06865, allocations: 3.554 MB / 0.5267 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.06866, allocations: 0 / 0.5267 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.06891, allocations: 91.89 kB / 0.5267 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004448/0.07336, allocations: 1.908 MB / 0.5286 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.07341, allocations: 23.98 kB / 0.5286 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/0.07915, allocations: 4.547 MB / 0.5331 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.07916, allocations: 0 / 0.5331 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.08416, allocations: 3.094 MB / 0.5361 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.08428, allocations: 123 kB / 0.5362 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.08437, allocations: 16.06 kB / 0.5362 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.08475, allocations: 75.92 kB / 0.5363 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/0.08508, allocations: 204.6 kB / 0.5365 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.08513, allocations: 27.94 kB / 0.5365 GB, free: 2.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003226/0.08545, allocations: 0.5154 MB / 0.537 GB, free: 2.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.08545, allocations: 0 / 0.537 GB, free: 2.387 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008036/0.08625, allocations: 439.7 kB / 0.5374 GB, free: 1.957 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.0002212/0.08647, allocations: 131.1 kB / 0.5376 GB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.08885, allocations: 1.647 MB / 0.5392 GB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.08885, allocations: 0 / 0.5392 GB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.09064, allocations: 1.195 MB / 0.5403 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.09104, allocations: 100 kB / 0.5404 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.09347, allocations: 1.793 MB / 0.5422 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.09363, allocations: 217 kB / 0.5424 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.09379, allocations: 86.67 kB / 0.5425 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.09393, allocations: 68.5 kB / 0.5425 GB, free: 12.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.09393, allocations: 0 / 0.5425 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Templates: time 0.02693/0.1209, allocations: 27.14 MB / 0.569 GB, free: 1.516 MB / 442.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: 3.8637325610034168]