Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001307/0.001307, allocations: 122.1 kB / 18.45 MB, free: 4.461 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.001369/0.001369, allocations: 207.3 kB / 21.41 MB, free: 1.512 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.563/1.563, allocations: 227.4 MB / 251.7 MB, free: 44 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.2225/0.2225, allocations: 46.16 MB / 351.1 MB, free: 14.29 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.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.002266/0.002266, allocations: 77.16 kB / 489.7 MB, free: 28.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1173, allocations: 62.45 MB / 0.5392 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.0094/0.1268, allocations: 7.504 MB / 0.5465 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.1321, allocations: 2.346 MB / 0.5488 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1333, allocations: 24 kB / 0.5488 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004319/0.1376, allocations: 1.749 MB / 0.5505 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002526/0.1402, allocations: 0.6908 MB / 0.5512 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.1422, allocations: 0.7561 MB / 0.5519 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.1443, allocations: 1.249 MB / 0.5532 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.1459, allocations: 0.9261 MB / 0.5541 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008388/0.1467, allocations: 0.5059 MB / 0.5546 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008203/0.1475, allocations: 0.6691 MB / 0.5552 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.1477, allocations: 108 kB / 0.5553 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.1487, allocations: 299.8 kB / 0.5556 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.1489, allocations: 275 kB / 0.5559 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006773/0.1496, allocations: 0.5986 MB / 0.5564 GB, free: 3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.1518, allocations: 1.618 MB / 0.558 GB, free: 1.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1518, allocations: 3.938 kB / 0.558 GB, free: 1.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1518, allocations: 0 / 0.558 GB, free: 1.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.1518, allocations: 0 / 0.558 GB, free: 1.371 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004679/0.1565, allocations: 1.837 MB / 0.5598 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.1566, allocations: 12.03 kB / 0.5598 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002548/0.1568, allocations: 194.7 kB / 0.56 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00951/0.1664, allocations: 1.268 MB / 0.5613 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.1678, allocations: 0.5726 MB / 0.5618 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/0.1679, allocations: 95.03 kB / 0.5619 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.1682, allocations: 139.9 kB / 0.562 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.1706, allocations: 1.246 MB / 0.5633 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.1706, allocations: 4 kB / 0.5633 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.1708, allocations: 56 kB / 0.5633 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.1708, allocations: 36 kB / 0.5633 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.1733, allocations: 1.459 MB / 0.5648 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009215/0.1826, allocations: 5.813 MB / 0.5704 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.1846, allocations: 1.114 MB / 0.5715 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.1853, allocations: 368.2 kB / 0.5719 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.1855, allocations: 191.2 kB / 0.5721 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.1856, allocations: 43.56 kB / 0.5721 GB, free: 2.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.386e-06/0.1856, allocations: 4 kB / 0.5721 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002546/0.1881, allocations: 1.211 MB / 0.5733 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1882, allocations: 64.41 kB / 0.5734 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.1893, allocations: 0.8325 MB / 0.5742 GB, free: 40 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.1894, allocations: 41.78 kB / 0.5742 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.1898, allocations: 0.5038 MB / 0.5747 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.19, allocations: 329.2 kB / 0.575 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.1904, allocations: 198.9 kB / 0.5752 GB, free: 14.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.1906, allocations: 402.7 kB / 0.5756 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.1913, allocations: 346.5 kB / 0.5759 GB, free: 14.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/0.1922, allocations: 0.6186 MB / 0.5765 GB, free: 13.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.1938, allocations: 0.9953 MB / 0.5775 GB, free: 12.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1938, allocations: 0 / 0.5775 GB, free: 12.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002256/0.1961, allocations: 1.198 MB / 0.5787 GB, free: 11.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.1962, allocations: 15.88 kB / 0.5787 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.1962, allocations: 8 kB / 0.5787 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.1965, allocations: 74.12 kB / 0.5788 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1975, allocations: 263.6 kB / 0.579 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.2, allocations: 2.825 MB / 0.5818 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.201, allocations: 158.7 kB / 0.5819 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.2011, allocations: 48 kB / 0.582 GB, free: 7.488 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004639/0.2016, allocations: 261.6 kB / 0.5822 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.2018, allocations: 99.33 kB / 0.5823 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.2038, allocations: 1.107 MB / 0.5834 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.2038, allocations: 8 kB / 0.5834 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/0.2038, allocations: 7.938 kB / 0.5834 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.2038, allocations: 3.984 kB / 0.5834 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.2083, allocations: 3.174 MB / 0.5865 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.2083, allocations: 4 kB / 0.5865 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/0.2091, allocations: 179.7 kB / 0.5867 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002445/0.2093, allocations: 70.23 kB / 0.5868 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.2094, allocations: 27.98 kB / 0.5868 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/0.2118, allocations: 2.82 MB / 0.5895 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.2119, allocations: 11.94 kB / 0.5895 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.2145, allocations: 1.481 MB / 0.591 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.2148, allocations: 204.3 kB / 0.5912 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.2149, allocations: 31.95 kB / 0.5912 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.2156, allocations: 51.91 kB / 0.5913 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.2157, allocations: 88.28 kB / 0.5914 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.2158, allocations: 28 kB / 0.5914 GB, free: 13.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008137/0.2166, allocations: 0.5811 MB / 0.5919 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2166, allocations: 0 / 0.5919 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009872/0.2176, allocations: 315.5 kB / 0.5922 GB, free: 12.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.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): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002937/0.2206, allocations: 2.083 MB / 0.5943 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.2227, allocations: 1.109 MB / 0.5954 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.2227, allocations: 192 / 0.5954 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.2237, allocations: 0.6189 MB / 0.596 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.2246, allocations: 119.2 kB / 0.5961 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.265/0.4896, allocations: 8.472 MB / 0.6044 GB, free: 58.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.4902, allocations: 1.013 MB / 0.6053 GB, free: 58.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006669/0.4909, allocations: 156.9 kB / 0.6055 GB, free: 58.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/0.4914, allocations: 390 kB / 0.6059 GB, free: 58.06 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4914, allocations: 0 / 0.6059 GB, free: 58.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06064/0.552, allocations: 19.42 MB / 0.6248 GB, free: 52.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.24, allocations: 1.375 kB / 0.6248 GB, free: 52.36 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.22150139696896] Failed to read output from testmodel.py, exit status != 0: ['time', 'v.re', 'v.im'] 12.329576566116884 12.339496425 12.185853489 Calling exit ...