Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001872/0.001872, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002211/0.002211, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2278/0.2278, allocations: 46.94 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3384, allocations: 66.07 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008279/0.3467, allocations: 6.604 MB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004669/0.3513, allocations: 2.286 MB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007185/0.352, allocations: 23.94 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003632/0.3557, allocations: 1.528 MB / 0.5717 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.358, allocations: 0.7143 MB / 0.5724 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3595, allocations: 0.5912 MB / 0.573 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.3611, allocations: 1.186 MB / 0.5741 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.3626, allocations: 0.8675 MB / 0.575 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.3635, allocations: 0.5137 MB / 0.5755 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009154/0.3644, allocations: 0.6109 MB / 0.5761 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.3646, allocations: 108 kB / 0.5762 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.3653, allocations: 295.8 kB / 0.5765 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.3655, allocations: 259 kB / 0.5767 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005573/0.366, allocations: 0.5558 MB / 0.5773 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.3679, allocations: 1.518 MB / 0.5787 GB, free: 2.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3679, allocations: 3.938 kB / 0.5787 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3679, allocations: 0 / 0.5787 GB, free: 2.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.368, allocations: 4 kB / 0.5787 GB, free: 2.574 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004806/0.3728, allocations: 1.616 MB / 0.5803 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3728, allocations: 8.031 kB / 0.5803 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/0.3731, allocations: 187.9 kB / 0.5805 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008228/0.3814, allocations: 1.124 MB / 0.5816 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.3828, allocations: 492.2 kB / 0.5821 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.3829, allocations: 86.73 kB / 0.5822 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.3832, allocations: 120.3 kB / 0.5823 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.3859, allocations: 1.36 MB / 0.5836 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.386, allocations: 3.984 kB / 0.5836 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.3861, allocations: 52 kB / 0.5837 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.3861, allocations: 28 kB / 0.5837 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.3891, allocations: 1.433 MB / 0.5851 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007189/0.3963, allocations: 4.057 MB / 0.589 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.3991, allocations: 1.026 MB / 0.59 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008431/0.3999, allocations: 380.8 kB / 0.5904 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.4001, allocations: 36.03 kB / 0.5904 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.4001, allocations: 50.48 kB / 0.5905 GB, free: 6.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.385e-06/0.4001, allocations: 0 / 0.5905 GB, free: 6.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00313/0.4032, allocations: 1.176 MB / 0.5916 GB, free: 5.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.4034, allocations: 247.2 kB / 0.5919 GB, free: 4.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.4041, allocations: 0.5606 MB / 0.5924 GB, free: 4.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.4041, allocations: 37.73 kB / 0.5925 GB, free: 4.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.4045, allocations: 484 kB / 0.5929 GB, free: 3.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.4047, allocations: 305.4 kB / 0.5932 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.405, allocations: 198.8 kB / 0.5934 GB, free: 3.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4052, allocations: 378.7 kB / 0.5938 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009197/0.4062, allocations: 386.4 kB / 0.5941 GB, free: 2.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4073, allocations: 0.6564 MB / 0.5948 GB, free: 1.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.4094, allocations: 1.07 MB / 0.5958 GB, free: 420 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4094, allocations: 7.938 kB / 0.5958 GB, free: 412 kB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002637/0.412, allocations: 1.188 MB / 0.597 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.412, allocations: 11.94 kB / 0.597 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.412, allocations: 8 kB / 0.597 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.4122, allocations: 41.47 kB / 0.597 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4134, allocations: 291.5 kB / 0.5973 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.778e-05/0.4134, allocations: 19.94 kB / 0.5973 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009956/0.4144, allocations: 155 kB / 0.5975 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/0.4145, allocations: 51.97 kB / 0.5975 GB, free: 14.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000529/0.415, allocations: 253.5 kB / 0.5978 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.4153, allocations: 75.52 kB / 0.5979 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.4178, allocations: 1.032 MB / 0.5989 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4178, allocations: 8 kB / 0.5989 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4178, allocations: 4 kB / 0.5989 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4178, allocations: 7.969 kB / 0.5989 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/0.4222, allocations: 2.291 MB / 0.6011 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4222, allocations: 0 / 0.6011 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000979/0.4232, allocations: 223.7 kB / 0.6013 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.4233, allocations: 24.84 kB / 0.6014 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/0.4234, allocations: 27.98 kB / 0.6014 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.4234, allocations: 11.98 kB / 0.6014 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4234, allocations: 0 / 0.6014 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.4268, allocations: 1.842 MB / 0.6032 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.4271, allocations: 83.38 kB / 0.6033 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.4272, allocations: 24 kB / 0.6033 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007911/0.428, allocations: 63.94 kB / 0.6034 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.4282, allocations: 71.8 kB / 0.6034 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.4282, allocations: 31.98 kB / 0.6035 GB, free: 8.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005386/0.4288, allocations: 402.8 kB / 0.6038 GB, free: 8.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4288, allocations: 0 / 0.6038 GB, free: 8.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001207/0.43, allocations: 295.3 kB / 0.6041 GB, free: 7.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003981/0.434, allocations: 2.441 MB / 0.6065 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.4363, allocations: 0.9007 MB / 0.6074 GB, free: 4.418 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.4363, allocations: 0 / 0.6074 GB, free: 4.418 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.4374, allocations: 439.8 kB / 0.6078 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.4388, allocations: 110.6 kB / 0.6079 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.4522, allocations: 7.87 MB / 0.6156 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.4529, allocations: 0.9841 MB / 0.6166 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005786/0.4534, allocations: 134.2 kB / 0.6167 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005558/0.454, allocations: 371.3 kB / 0.617 GB, free: 10.14 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.454, allocations: 4 kB / 0.617 GB, free: 10.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/0.5039, allocations: 18.32 MB / 0.6349 GB, free: 7.949 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.9, allocations: 0 / 0.6349 GB, free: 7.949 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.884456858970225] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC', 'iLL', 'iL', 'vCC'] 11.99890931788832 12.026008602 11.652708555 Calling exit ...