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.001683/0.001683, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001964/0.001964, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2167/0.2167, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.002228/0.002228, allocations: 79.86 kB / 0.4917 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1199, allocations: 66.05 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007801/0.1277, allocations: 6.581 MB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.1318, allocations: 2.27 MB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.1322, allocations: 20 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.1354, allocations: 1.524 MB / 0.5663 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.1372, allocations: 0.7148 MB / 0.567 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1386, allocations: 0.5916 MB / 0.5676 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1399, allocations: 1.182 MB / 0.5687 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.1411, allocations: 0.7195 MB / 0.5694 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007287/0.1418, allocations: 0.5099 MB / 0.5699 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.1425, allocations: 0.6185 MB / 0.5705 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.1426, allocations: 108 kB / 0.5706 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.1432, allocations: 291.8 kB / 0.5709 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1434, allocations: 263 kB / 0.5712 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.1439, allocations: 0.5559 MB / 0.5717 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.1458, allocations: 1.514 MB / 0.5732 GB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.1459, allocations: 4 kB / 0.5732 GB, free: 4.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1459, allocations: 0 / 0.5732 GB, free: 4.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.745e-05/0.1459, allocations: 0 / 0.5732 GB, free: 4.02 MB / 430.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.004656/0.1505, allocations: 1.688 MB / 0.5748 GB, free: 2.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1506, allocations: 8.031 kB / 0.5749 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002762/0.1509, allocations: 191.9 kB / 0.575 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008246/0.1591, allocations: 1.132 MB / 0.5761 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.1602, allocations: 0.5299 MB / 0.5767 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-05/0.1603, allocations: 90.67 kB / 0.5767 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.1605, allocations: 116.4 kB / 0.5769 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.1632, allocations: 1.364 MB / 0.5782 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.1632, allocations: 3.938 kB / 0.5782 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.1633, allocations: 52 kB / 0.5782 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.1633, allocations: 28 kB / 0.5783 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.1663, allocations: 1.437 MB / 0.5797 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007929/0.1743, allocations: 5.647 MB / 0.5852 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/0.1776, allocations: 2.063 MB / 0.5872 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008903/0.1785, allocations: 394.6 kB / 0.5876 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.1787, allocations: 190.2 kB / 0.5878 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.1787, allocations: 54.48 kB / 0.5878 GB, free: 4.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.655e-06/0.1787, allocations: 3.938 kB / 0.5878 GB, free: 4.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.00324/0.182, allocations: 1.244 MB / 0.589 GB, free: 2.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.1821, allocations: 255.2 kB / 0.5893 GB, free: 2.445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.1828, allocations: 0.5644 MB / 0.5898 GB, free: 1.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.1829, allocations: 37.7 kB / 0.5899 GB, free: 1.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.1832, allocations: 480 kB / 0.5903 GB, free: 1.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.1834, allocations: 301.4 kB / 0.5906 GB, free: 1.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.1837, allocations: 198.8 kB / 0.5908 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1839, allocations: 382.8 kB / 0.5912 GB, free: 480 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009121/0.1848, allocations: 374.4 kB / 0.5915 GB, free: 104 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2137/0.3985, allocations: 0.664 MB / 0.5922 GB, free: 33.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.4004, allocations: 1.054 MB / 0.5932 GB, free: 32.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4004, allocations: 2.281 kB / 0.5932 GB, free: 32.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002585/0.403, allocations: 1.2 MB / 0.5944 GB, free: 32.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.403, allocations: 12.81 kB / 0.5944 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.403, allocations: 8.344 kB / 0.5944 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.4032, allocations: 37.7 kB / 0.5944 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4044, allocations: 291.1 kB / 0.5947 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.4044, allocations: 14.97 kB / 0.5947 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.4053, allocations: 150.5 kB / 0.5949 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.4053, allocations: 58.2 kB / 0.5949 GB, free: 32.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.000348/0.4057, allocations: 251.3 kB / 0.5952 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.4059, allocations: 79.12 kB / 0.5952 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.4084, allocations: 1.029 MB / 0.5962 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.4084, allocations: 11.42 kB / 0.5963 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.4084, allocations: 1.719 kB / 0.5963 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.4085, allocations: 7.125 kB / 0.5963 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.4125, allocations: 2.318 MB / 0.5985 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4126, allocations: 1.672 kB / 0.5985 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.4135, allocations: 224.4 kB / 0.5987 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.4137, allocations: 25.94 kB / 0.5988 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/0.4137, allocations: 28.92 kB / 0.5988 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.4137, allocations: 5.219 kB / 0.5988 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4137, allocations: 2.203 kB / 0.5988 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/0.4174, allocations: 1.838 MB / 0.6006 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.4177, allocations: 162.9 kB / 0.6007 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4178, allocations: 27.22 kB / 0.6008 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/0.4187, allocations: 64.62 kB / 0.6008 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.4189, allocations: 65.55 kB / 0.6009 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.4189, allocations: 32.16 kB / 0.6009 GB, free: 30.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005175/0.4194, allocations: 397.9 kB / 0.6013 GB, free: 30.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4194, allocations: 0.5625 kB / 0.6013 GB, free: 30.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001251/0.4207, allocations: 301.6 kB / 0.6016 GB, free: 30.12 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.003578/0.4243, allocations: 2.439 MB / 0.604 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.4267, allocations: 0.9841 MB / 0.6049 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4267, allocations: 5.156 kB / 0.6049 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.4279, allocations: 0.5067 MB / 0.6054 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4289, allocations: 108.5 kB / 0.6055 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.4409, allocations: 7.86 MB / 0.6132 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.4416, allocations: 0.9833 MB / 0.6142 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006127/0.4422, allocations: 137.2 kB / 0.6143 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.4427, allocations: 378.7 kB / 0.6147 GB, free: 22.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4427, allocations: 0 / 0.6147 GB, free: 22.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.4856, allocations: 17.67 MB / 0.6319 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.99, allocations: 7.938 kB / 0.6319 GB, free: 12.29 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.25393074704334] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC', 'iLL', 'iL', 'vCC'] 13.085614583920687 13.106774847 12.956307225 Calling exit ...