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.001841/0.001841, allocations: 114.9 kB / 18.45 MB, free: 4.594 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.002118/0.002118, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.481/1.481, allocations: 227.5 MB / 251.7 MB, free: 52 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.2315/0.2315, allocations: 46.13 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.002351/0.002351, allocations: 80.94 kB / 489.7 MB, free: 28.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1114, allocations: 62.45 MB / 0.5392 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008569/0.12, allocations: 6.554 MB / 0.5456 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004588/0.1246, allocations: 2.255 MB / 0.5478 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.1254, allocations: 20 kB / 0.5478 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.1289, allocations: 1.536 MB / 0.5493 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1308, allocations: 0.6949 MB / 0.55 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1322, allocations: 0.5976 MB / 0.5506 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1337, allocations: 1.173 MB / 0.5517 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.1351, allocations: 0.9418 MB / 0.5527 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.1359, allocations: 0.5021 MB / 0.5531 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007636/0.1367, allocations: 0.6225 MB / 0.5538 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1369, allocations: 104 kB / 0.5539 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000627/0.1375, allocations: 283.8 kB / 0.5541 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.1377, allocations: 263 kB / 0.5544 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005689/0.1383, allocations: 0.5558 MB / 0.5549 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.1402, allocations: 1.518 MB / 0.5564 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1402, allocations: 0 / 0.5564 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1402, allocations: 0 / 0.5564 GB, free: 3.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.1402, allocations: 0 / 0.5564 GB, free: 3.078 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.004648/0.1449, allocations: 1.692 MB / 0.5581 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1449, allocations: 8.031 kB / 0.5581 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/0.1452, allocations: 187.8 kB / 0.5582 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00876/0.154, allocations: 1.128 MB / 0.5593 GB, free: 0 / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1552, allocations: 0.5338 MB / 0.5599 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.854e-05/0.1553, allocations: 90.73 kB / 0.5599 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.1555, allocations: 112.4 kB / 0.5601 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.1582, allocations: 1.364 MB / 0.5614 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.1583, allocations: 7.984 kB / 0.5614 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.1584, allocations: 48 kB / 0.5614 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.1585, allocations: 28 kB / 0.5615 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.1616, allocations: 1.429 MB / 0.5629 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008468/0.1701, allocations: 5.655 MB / 0.5684 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.1739, allocations: 2.14 MB / 0.5705 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009825/0.1749, allocations: 434.4 kB / 0.5709 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.1751, allocations: 198.3 kB / 0.5711 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.1751, allocations: 46.5 kB / 0.5711 GB, free: 2.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.1751, allocations: 0 / 0.5711 GB, free: 2.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003631/0.1788, allocations: 1.248 MB / 0.5723 GB, free: 1.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/0.179, allocations: 247.2 kB / 0.5726 GB, free: 1.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.1798, allocations: 0.5644 MB / 0.5731 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.1799, allocations: 41.64 kB / 0.5732 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.1803, allocations: 484 kB / 0.5736 GB, free: 300 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.1806, allocations: 309.5 kB / 0.5739 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.181, allocations: 194.8 kB / 0.5741 GB, free: 15.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1812, allocations: 378.8 kB / 0.5745 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009842/0.1822, allocations: 386.4 kB / 0.5748 GB, free: 15.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.1834, allocations: 0.6564 MB / 0.5755 GB, free: 14.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.1857, allocations: 1.058 MB / 0.5765 GB, free: 13.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.1858, allocations: 4 kB / 0.5765 GB, free: 13.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002829/0.1886, allocations: 1.196 MB / 0.5777 GB, free: 11.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.1886, allocations: 15.94 kB / 0.5777 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.1887, allocations: 8 kB / 0.5777 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.1888, allocations: 40.83 kB / 0.5777 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.19, allocations: 288.2 kB / 0.578 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.68e-05/0.1901, allocations: 19.92 kB / 0.578 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/0.1911, allocations: 155.1 kB / 0.5782 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.1912, allocations: 47.98 kB / 0.5782 GB, free: 11.3 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.0005025/0.1917, allocations: 257.5 kB / 0.5785 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.1919, allocations: 79.47 kB / 0.5786 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.1946, allocations: 1.028 MB / 0.5796 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.1947, allocations: 11.94 kB / 0.5796 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.1947, allocations: 4 kB / 0.5796 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.1947, allocations: 3.984 kB / 0.5796 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/0.1995, allocations: 2.321 MB / 0.5818 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.1995, allocations: 0 / 0.5818 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.2006, allocations: 219.7 kB / 0.5821 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.2008, allocations: 32.83 kB / 0.5821 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.2008, allocations: 23.98 kB / 0.5821 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.2009, allocations: 4 kB / 0.5821 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2009, allocations: 4 kB / 0.5821 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003697/0.2046, allocations: 1.848 MB / 0.5839 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.2049, allocations: 156.5 kB / 0.5841 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.205, allocations: 24 kB / 0.5841 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/0.2058, allocations: 63.94 kB / 0.5842 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.206, allocations: 71.83 kB / 0.5842 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.2061, allocations: 35.92 kB / 0.5843 GB, free: 5.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005423/0.2067, allocations: 398.8 kB / 0.5846 GB, free: 4.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2067, allocations: 0 / 0.5846 GB, free: 4.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00112/0.2078, allocations: 295.3 kB / 0.5849 GB, free: 4.336 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.004128/0.2119, allocations: 2.441 MB / 0.5873 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.2146, allocations: 1.03 MB / 0.5883 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2146, allocations: 0.75 kB / 0.5883 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.2158, allocations: 0.5444 MB / 0.5888 GB, free: 252 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.2169, allocations: 117.3 kB / 0.589 GB, free: 140 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.2303, allocations: 7.864 MB / 0.5966 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.231, allocations: 0.984 MB / 0.5976 GB, free: 6.906 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005507/0.2316, allocations: 138.1 kB / 0.5977 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.2322, allocations: 371.3 kB / 0.5981 GB, free: 6.406 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2322, allocations: 0 / 0.5981 GB, free: 6.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2913/0.5235, allocations: 17.19 MB / 0.6149 GB, free: 60.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.89, allocations: 6.594 kB / 0.6149 GB, free: 60.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.889285502023995] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC', 'iLL', 'iL', 'vCC'] 11.983309298055246 12.00140833 11.858126863 Calling exit ...