Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001741/0.001741, allocations: 109.7 kB / 16.46 MB, free: 6.453 MB / 14.72 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.516/1.516, allocations: 230.6 MB / 249.8 MB, free: 9.219 MB / 206.1 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.001786/0.001786, allocations: 209.7 kB / 306 MB, free: 4.285 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5629/0.5629, allocations: 101.3 MB / 463.4 MB, free: 11.88 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 91.86 kB / 0.6193 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1656, allocations: 78.57 MB / 0.696 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.3017/0.4673, allocations: 5.855 MB / 0.7018 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.4708, allocations: 1.817 MB / 0.7035 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.4714, allocations: 13.41 kB / 0.7036 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005257/0.472, allocations: 208 kB / 0.7037 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.4737, allocations: 0.7555 MB / 0.7045 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4749, allocations: 0.5676 MB / 0.705 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.4762, allocations: 1.261 MB / 0.7063 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.4765, allocations: 191.9 kB / 0.7065 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000629/0.4772, allocations: 0.5378 MB / 0.707 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006908/0.4779, allocations: 0.6555 MB / 0.7076 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.478, allocations: 92 kB / 0.7077 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.4784, allocations: 238.2 kB / 0.7079 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.4786, allocations: 244.5 kB / 0.7082 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.479, allocations: 0.5415 MB / 0.7087 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.4805, allocations: 1.368 MB / 0.71 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4805, allocations: 0.6094 kB / 0.71 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4805, allocations: 3.938 kB / 0.71 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.4805, allocations: 0 / 0.71 GB, free: 0.9062 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007979/0.4885, allocations: 2.402 MB / 0.7124 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4885, allocations: 8.75 kB / 0.7124 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.4887, allocations: 118.2 kB / 0.7125 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/0.494, allocations: 0.7611 MB / 0.7132 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.4957, allocations: 0.7191 MB / 0.714 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.496, allocations: 255.2 kB / 0.7142 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.4962, allocations: 71.44 kB / 0.7143 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.4984, allocations: 0.9551 MB / 0.7152 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4984, allocations: 2.344 kB / 0.7152 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4985, allocations: 27.47 kB / 0.7152 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4985, allocations: 16.47 kB / 0.7152 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.5008, allocations: 0.9775 MB / 0.7162 GB, free: 14.09 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007113/0.5079, allocations: 3.204 MB / 0.7193 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.5104, allocations: 1.221 MB / 0.7205 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.5121, allocations: 0.6329 MB / 0.7211 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.5123, allocations: 12.02 kB / 0.7211 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.5123, allocations: 43.48 kB / 0.7212 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=83): time 3.627e-06/0.5123, allocations: 0 / 0.7212 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.02914/0.5415, allocations: 6.442 MB / 0.7275 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.5415, allocations: 64.59 kB / 0.7275 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.5429, allocations: 0.793 MB / 0.7283 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.5432, allocations: 41.89 kB / 0.7284 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.5436, allocations: 442.7 kB / 0.7288 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/0.544, allocations: 318.5 kB / 0.7291 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/0.5445, allocations: 182.7 kB / 0.7293 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5447, allocations: 351.5 kB / 0.7296 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.5463, allocations: 0.6554 MB / 0.7302 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.5481, allocations: 0.7887 MB / 0.731 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02046/0.5686, allocations: 4.62 MB / 0.7355 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.5686, allocations: 3.938 kB / 0.7355 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01522/0.5838, allocations: 4.044 MB / 0.7395 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5838, allocations: 13.28 kB / 0.7395 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5838, allocations: 6.75 kB / 0.7395 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006664/0.5905, allocations: 1.734 MB / 0.7412 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.5915, allocations: 189.5 kB / 0.7414 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/0.6156, allocations: 9.057 MB / 0.7502 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.6172, allocations: 155.3 kB / 0.7503 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.6175, allocations: 36 kB / 0.7504 GB, free: 9.934 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006922/0.6182, allocations: 233.3 kB / 0.7506 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.6185, allocations: 107.3 kB / 0.7507 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.6327, allocations: 3.778 MB / 0.7544 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.6327, allocations: 15.92 kB / 0.7544 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6327, allocations: 3.938 kB / 0.7544 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.6328, allocations: 3.984 kB / 0.7544 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.65, allocations: 5.302 MB / 0.7596 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.65, allocations: 0 / 0.7596 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.6506, allocations: 99.83 kB / 0.7597 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006638/0.6573, allocations: 1.745 MB / 0.7614 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.6575, allocations: 12 kB / 0.7614 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/0.6788, allocations: 8.066 MB / 0.7693 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6788, allocations: 0 / 0.7693 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.6953, allocations: 4.67 MB / 0.7738 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.6957, allocations: 192.2 kB / 0.774 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/0.696, allocations: 12 kB / 0.774 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.6972, allocations: 95.89 kB / 0.7741 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007413/0.6979, allocations: 204.6 kB / 0.7743 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.698, allocations: 23.98 kB / 0.7744 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008815/0.6989, allocations: 0.5342 MB / 0.7749 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6989, allocations: 0 / 0.7749 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001542/0.7005, allocations: 407.7 kB / 0.7753 GB, free: 104 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0166/0.7171, allocations: 5.25 MB / 0.7804 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007416/0.7245, allocations: 2.195 MB / 0.7825 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.7245, allocations: 0 / 0.7825 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/0.7297, allocations: 1.44 MB / 0.7839 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.7309, allocations: 84.25 kB / 0.784 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.041/0.7719, allocations: 14.13 MB / 0.7978 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/0.7727, allocations: 1.029 MB / 0.7988 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003866/0.7731, allocations: 86.23 kB / 0.7989 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/0.7737, allocations: 375.3 kB / 0.7993 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.7737, allocations: 0 / 0.7993 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07719/0.8509, allocations: 31.29 MB / 0.8298 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.04, allocations: 16.3 kB / 0.8298 GB, free: 8.059 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.79105165391229] Failed to read output from testmodel.py, exit status != 0: 17.15059451200068 17.17749449 16.691981837 Calling exit ...