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.001584/0.001584, allocations: 115.5 kB / 18.44 MB, free: 4.723 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.001942/0.001942, allocations: 205.8 kB / 21.4 MB, free: 1.773 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.505/1.505, allocations: 227.5 MB / 251.7 MB, free: 60 kB / 190.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.2281/0.2281, allocations: 46.14 MB / 351.1 MB, free: 14.31 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.002329/0.002329, allocations: 76.69 kB / 489.7 MB, free: 28.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1295, allocations: 62.47 MB / 0.5392 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009096/0.1387, allocations: 6.549 MB / 0.5456 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005063/0.1438, allocations: 2.251 MB / 0.5478 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.1447, allocations: 20 kB / 0.5478 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.1483, allocations: 1.532 MB / 0.5493 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.1508, allocations: 0.7021 MB / 0.55 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1523, allocations: 0.5967 MB / 0.5506 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.1539, allocations: 1.171 MB / 0.5517 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.1554, allocations: 0.9536 MB / 0.5527 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007605/0.1562, allocations: 0.4904 MB / 0.5531 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007967/0.157, allocations: 0.6264 MB / 0.5538 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1571, allocations: 112 kB / 0.5539 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006488/0.1578, allocations: 283.8 kB / 0.5541 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.1581, allocations: 255 kB / 0.5544 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.1586, allocations: 0.5558 MB / 0.5549 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.1605, allocations: 1.518 MB / 0.5564 GB, free: 3.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1606, allocations: 4 kB / 0.5564 GB, free: 3.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1606, allocations: 0 / 0.5564 GB, free: 3.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1606, allocations: 4 kB / 0.5564 GB, free: 3.082 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.004478/0.1651, allocations: 1.68 MB / 0.558 GB, free: 1.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1651, allocations: 12.03 kB / 0.5581 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/0.1654, allocations: 187.8 kB / 0.5582 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00841/0.1738, allocations: 1.124 MB / 0.5593 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.175, allocations: 0.5377 MB / 0.5599 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.1751, allocations: 86.73 kB / 0.5599 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.1753, allocations: 116.4 kB / 0.5601 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.178, allocations: 1.368 MB / 0.5614 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.1781, allocations: 7.922 kB / 0.5614 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.1782, allocations: 48 kB / 0.5614 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.1782, allocations: 28 kB / 0.5615 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.1812, allocations: 1.433 MB / 0.5629 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008161/0.1894, allocations: 5.651 MB / 0.5684 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.193, allocations: 2.136 MB / 0.5705 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009579/0.194, allocations: 428.7 kB / 0.5709 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.1942, allocations: 194.2 kB / 0.5711 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.1943, allocations: 42.56 kB / 0.5711 GB, free: 2.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.598e-06/0.1943, allocations: 0 / 0.5711 GB, free: 2.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00339/0.1977, allocations: 1.253 MB / 0.5723 GB, free: 1.715 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.1979, allocations: 259.1 kB / 0.5726 GB, free: 1.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.1987, allocations: 0.5605 MB / 0.5731 GB, free: 0.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.1987, allocations: 41.7 kB / 0.5732 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.1991, allocations: 484 kB / 0.5736 GB, free: 312 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.1993, allocations: 309.4 kB / 0.5739 GB, free: 0 / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.1997, allocations: 194.8 kB / 0.5741 GB, free: 15.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.1999, allocations: 370.8 kB / 0.5745 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.2009, allocations: 390.4 kB / 0.5748 GB, free: 15.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.2023, allocations: 0.6564 MB / 0.5755 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.2044, allocations: 1.062 MB / 0.5765 GB, free: 13.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.2045, allocations: 4 kB / 0.5765 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002749/0.2072, allocations: 1.196 MB / 0.5777 GB, free: 11.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2072, allocations: 11.94 kB / 0.5777 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.2073, allocations: 8 kB / 0.5777 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.2074, allocations: 41.52 kB / 0.5777 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.2087, allocations: 287.6 kB / 0.578 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/0.2087, allocations: 23.92 kB / 0.578 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.2096, allocations: 147.1 kB / 0.5782 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.2097, allocations: 47.98 kB / 0.5782 GB, free: 11.32 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.0004495/0.2102, allocations: 261.5 kB / 0.5785 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.2104, allocations: 79.45 kB / 0.5785 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.2129, allocations: 1.024 MB / 0.5795 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.213, allocations: 12 kB / 0.5796 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.213, allocations: 0 / 0.5796 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.213, allocations: 11.97 kB / 0.5796 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.2174, allocations: 2.324 MB / 0.5818 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/0.2174, allocations: 4 kB / 0.5818 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/0.2184, allocations: 215.7 kB / 0.5821 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.2185, allocations: 28.83 kB / 0.5821 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.2186, allocations: 23.98 kB / 0.5821 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.2186, allocations: 7.938 kB / 0.5821 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2186, allocations: 8 kB / 0.5821 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.2222, allocations: 1.84 MB / 0.5839 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.2225, allocations: 160.5 kB / 0.5841 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.2227, allocations: 16 kB / 0.5841 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.2235, allocations: 75.86 kB / 0.5842 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.2237, allocations: 71.84 kB / 0.5842 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.2238, allocations: 31.98 kB / 0.5843 GB, free: 5.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005485/0.2243, allocations: 394.8 kB / 0.5846 GB, free: 4.641 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2243, allocations: 0 / 0.5846 GB, free: 4.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001152/0.2255, allocations: 299.3 kB / 0.5849 GB, free: 4.348 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.004116/0.2296, allocations: 2.437 MB / 0.5873 GB, free: 1.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.2322, allocations: 1.03 MB / 0.5883 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.2323, allocations: 4.938 kB / 0.5883 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.2334, allocations: 0.5444 MB / 0.5888 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.2346, allocations: 109.2 kB / 0.5889 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.2476, allocations: 7.861 MB / 0.5966 GB, free: 7.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.2483, allocations: 0.984 MB / 0.5976 GB, free: 6.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005464/0.2489, allocations: 138.2 kB / 0.5977 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.2495, allocations: 371.3 kB / 0.5981 GB, free: 6.43 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2495, allocations: 4 kB / 0.5981 GB, free: 6.426 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.5256, allocations: 17.2 MB / 0.6149 GB, free: 60.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.69, allocations: 9.969 kB / 0.6149 GB, free: 60.89 MB / 462.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.844045667909086] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC', 'iLL', 'iL', 'vCC'] 11.778638046002015 11.789401567 11.626776987 Calling exit ...