Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.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.001366/0.001366, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.436/1.436, allocations: 230.6 MB / 252.6 MB, free: 8.316 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.002493/0.002493, allocations: 211.7 kB / 309.2 MB, free: 3.164 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.5541/0.5541, allocations: 101.3 MB / 467 MB, free: 10.34 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.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",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.002521/0.002521, allocations: 83.88 kB / 0.6244 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4609, allocations: 78.61 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.00642/0.4673, allocations: 6.674 MB / 0.7077 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.4714, allocations: 2.013 MB / 0.7097 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.4724, allocations: 9.5 kB / 0.7097 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.4731, allocations: 246.9 kB / 0.7099 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.475, allocations: 0.639 MB / 0.7105 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.4772, allocations: 0.7711 MB / 0.7113 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.4803, allocations: 1.508 MB / 0.7128 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.4808, allocations: 210.8 kB / 0.713 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.482, allocations: 0.6267 MB / 0.7136 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.4831, allocations: 0.7982 MB / 0.7144 GB, free: 460 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.4833, allocations: 117.8 kB / 0.7145 GB, free: 460 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.4839, allocations: 246.1 kB / 0.7147 GB, free: 416 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.4841, allocations: 304.2 kB / 0.715 GB, free: 212 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007586/0.4849, allocations: 0.6516 MB / 0.7156 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.4883, allocations: 1.604 MB / 0.7172 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4883, allocations: 4 kB / 0.7172 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4883, allocations: 0 / 0.7172 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.78e-05/0.4884, allocations: 0 / 0.7172 GB, free: 15.04 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.009847/0.4982, allocations: 2.62 MB / 0.7198 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4983, allocations: 10.75 kB / 0.7198 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/0.4985, allocations: 124.2 kB / 0.7199 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004496/0.503, allocations: 0.6962 MB / 0.7206 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.5046, allocations: 0.7439 MB / 0.7213 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005114/0.5051, allocations: 459.7 kB / 0.7217 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.5053, allocations: 78.59 kB / 0.7218 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.5081, allocations: 1.199 MB / 0.723 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5081, allocations: 4.844 kB / 0.723 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5082, allocations: 30.28 kB / 0.723 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5082, allocations: 18.03 kB / 0.723 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.5113, allocations: 1.167 MB / 0.7242 GB, free: 11.84 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.008439/0.5197, allocations: 3.758 MB / 0.7278 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008124/0.5279, allocations: 2.036 MB / 0.7298 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.53, allocations: 0.746 MB / 0.7306 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5301, allocations: 18.91 kB / 0.7306 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.5302, allocations: 48.06 kB / 0.7306 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.886e-06/0.5302, allocations: 0 / 0.7306 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.04038/0.5705, allocations: 8.992 MB / 0.7394 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.5707, allocations: 97.11 kB / 0.7395 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.5731, allocations: 0.9132 MB / 0.7404 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004547/0.5735, allocations: 40.11 kB / 0.7404 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.574, allocations: 482 kB / 0.7409 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006248/0.5746, allocations: 368.2 kB / 0.7412 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.5751, allocations: 167.3 kB / 0.7414 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5752, allocations: 347.1 kB / 0.7417 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.5772, allocations: 0.7053 MB / 0.7424 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.5792, allocations: 0.8539 MB / 0.7433 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.5831, allocations: 1.577 MB / 0.7448 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.5831, allocations: 0 / 0.7448 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01694/0.6, allocations: 4.565 MB / 0.7492 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.6001, allocations: 6.875 kB / 0.7493 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6001, allocations: 3.062 kB / 0.7493 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008651/0.6087, allocations: 2.29 MB / 0.7515 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.6097, allocations: 163.8 kB / 0.7517 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03201/0.6417, allocations: 11.01 MB / 0.7624 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.644, allocations: 179.2 kB / 0.7626 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.6442, allocations: 36 kB / 0.7626 GB, free: 1.078 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (87): * Single equations (assignments): 86 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0006469/0.6448, allocations: 229.7 kB / 0.7628 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.6451, allocations: 131.2 kB / 0.763 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/0.6613, allocations: 4.474 MB / 0.7673 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.6613, allocations: 12 kB / 0.7673 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6613, allocations: 0 / 0.7673 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.6613, allocations: 3.984 kB / 0.7673 GB, free: 12.21 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.01887/0.6802, allocations: 6.119 MB / 0.7733 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.6802, allocations: 0 / 0.7733 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.6809, allocations: 107.9 kB / 0.7734 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007984/0.6888, allocations: 2.171 MB / 0.7755 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.689, allocations: 19.98 kB / 0.7756 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02701/0.716, allocations: 9.763 MB / 0.7851 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.716, allocations: 0 / 0.7851 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/0.7351, allocations: 5.597 MB / 0.7906 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.7355, allocations: 143 kB / 0.7907 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.7358, allocations: 16 kB / 0.7907 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.7371, allocations: 127.7 kB / 0.7908 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000762/0.7378, allocations: 248.5 kB / 0.7911 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-05/0.7379, allocations: 24 kB / 0.7911 GB, free: 3.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009248/0.7388, allocations: 0.6348 MB / 0.7917 GB, free: 2.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7388, allocations: 0 / 0.7917 GB, free: 2.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001486/0.7403, allocations: 459.6 kB / 0.7921 GB, free: 2.504 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (62): * Single equations (assignments): 61 * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01905/0.7594, allocations: 6.17 MB / 0.7982 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008542/0.7679, allocations: 2.539 MB / 0.8007 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7679, allocations: 0 / 0.8007 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006274/0.7742, allocations: 1.735 MB / 0.8023 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.7753, allocations: 111 kB / 0.8025 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04648/0.8217, allocations: 16.2 MB / 0.8183 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/0.8226, allocations: 1.095 MB / 0.8193 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004589/0.8231, allocations: 95.03 kB / 0.8194 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/0.8237, allocations: 439.3 kB / 0.8198 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.8237, allocations: 0 / 0.8198 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09255/0.9163, allocations: 39.81 MB / 0.8587 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.25, allocations: 9.906 kB / 0.8587 GB, free: 14.09 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.67950846000167] Failed to read output from testmodel.py, exit status != 0: 16.381868566000776 16.397744101 15.906001987 Calling exit ...