Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 209.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2442/0.2442, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.91 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1324, allocations: 65.43 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008532/0.1409, allocations: 6.983 MB / 0.5586 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004531/0.1455, allocations: 2.28 MB / 0.5608 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.1461, allocations: 31.88 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.1496, allocations: 1.524 MB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.1516, allocations: 0.6866 MB / 0.563 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.1532, allocations: 0.7133 MB / 0.5637 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.1547, allocations: 1.152 MB / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.1558, allocations: 0.6168 MB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.1565, allocations: 494.1 kB / 0.5659 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.1571, allocations: 0.603 MB / 0.5665 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1573, allocations: 96 kB / 0.5666 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.1579, allocations: 295.8 kB / 0.5668 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.1581, allocations: 251 kB / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.1586, allocations: 0.5519 MB / 0.5676 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.1604, allocations: 1.471 MB / 0.5691 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1604, allocations: 0 / 0.5691 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1604, allocations: 0 / 0.5691 GB, free: 8.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.1604, allocations: 0 / 0.5691 GB, free: 8.32 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004161/0.1646, allocations: 1.707 MB / 0.5707 GB, free: 6.559 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1646, allocations: 12.03 kB / 0.5707 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.1648, allocations: 177.8 kB / 0.5709 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009533/0.1744, allocations: 1.261 MB / 0.5721 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.1759, allocations: 0.5411 MB / 0.5727 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/0.176, allocations: 90.41 kB / 0.5728 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.1762, allocations: 120 kB / 0.5729 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.1785, allocations: 1.153 MB / 0.574 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.1786, allocations: 4 kB / 0.574 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.1787, allocations: 52 kB / 0.574 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.1787, allocations: 32 kB / 0.5741 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.1811, allocations: 1.376 MB / 0.5754 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008244/0.1893, allocations: 5.466 MB / 0.5808 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.1911, allocations: 0.8758 MB / 0.5816 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.1917, allocations: 331.7 kB / 0.5819 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.1919, allocations: 199.1 kB / 0.5821 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.192, allocations: 43.56 kB / 0.5822 GB, free: 10.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=89): time 2.194e-06/0.192, allocations: 0 / 0.5822 GB, free: 10.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.002482/0.1944, allocations: 1.199 MB / 0.5833 GB, free: 8.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1945, allocations: 64.39 kB / 0.5834 GB, free: 8.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.1955, allocations: 0.7855 MB / 0.5842 GB, free: 8.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.1956, allocations: 41.7 kB / 0.5842 GB, free: 8.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.196, allocations: 476.2 kB / 0.5847 GB, free: 7.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.1963, allocations: 321.3 kB / 0.585 GB, free: 7.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.1966, allocations: 186.9 kB / 0.5851 GB, free: 7.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.1968, allocations: 402.7 kB / 0.5855 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/0.1975, allocations: 338.5 kB / 0.5858 GB, free: 6.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009009/0.1984, allocations: 0.5661 MB / 0.5864 GB, free: 5.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.2, allocations: 0.9309 MB / 0.5873 GB, free: 4.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2, allocations: 0 / 0.5873 GB, free: 4.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00242/0.2024, allocations: 1.143 MB / 0.5884 GB, free: 3.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2024, allocations: 8 kB / 0.5884 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.2024, allocations: 8 kB / 0.5884 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.2028, allocations: 65.86 kB / 0.5885 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.2038, allocations: 255.6 kB / 0.5887 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.2063, allocations: 2.817 MB / 0.5915 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2897/0.4961, allocations: 140.7 kB / 0.5916 GB, free: 37.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.4964, allocations: 48.33 kB / 0.5917 GB, free: 37.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0005051/0.4969, allocations: 244.3 kB / 0.5919 GB, free: 37.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.4971, allocations: 93.42 kB / 0.592 GB, free: 37.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.4992, allocations: 1.094 MB / 0.5931 GB, free: 36.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.4992, allocations: 11.39 kB / 0.5931 GB, free: 36.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4992, allocations: 0 / 0.5931 GB, free: 36.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.4992, allocations: 8.641 kB / 0.5931 GB, free: 36.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.503, allocations: 3.117 MB / 0.5961 GB, free: 35.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.5031, allocations: 8.906 kB / 0.5961 GB, free: 35.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008156/0.5039, allocations: 179 kB / 0.5963 GB, free: 35.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.5041, allocations: 63.05 kB / 0.5964 GB, free: 35.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.5042, allocations: 31.25 kB / 0.5964 GB, free: 35.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.5058, allocations: 2.824 MB / 0.5992 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.5058, allocations: 9.703 kB / 0.5992 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.5082, allocations: 1.466 MB / 0.6006 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.5085, allocations: 195.5 kB / 0.6008 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.5086, allocations: 32.23 kB / 0.6008 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.5092, allocations: 51 kB / 0.6009 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.5094, allocations: 85.06 kB / 0.6009 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.5095, allocations: 33.33 kB / 0.601 GB, free: 31.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008179/0.5103, allocations: 0.5534 MB / 0.6015 GB, free: 31.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5103, allocations: 0 / 0.6015 GB, free: 31.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001083/0.5114, allocations: 287.4 kB / 0.6018 GB, free: 31.09 MB / 446.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 (92): * Single equations (assignments): 90 * 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.002747/0.5141, allocations: 2.084 MB / 0.6038 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.5161, allocations: 1.023 MB / 0.6048 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.5161, allocations: 1.375 kB / 0.6048 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009761/0.5171, allocations: 0.5973 MB / 0.6054 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.518, allocations: 115.4 kB / 0.6055 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.5325, allocations: 8.086 MB / 0.6134 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.5332, allocations: 0.9922 MB / 0.6144 GB, free: 23.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006776/0.5339, allocations: 150.8 kB / 0.6145 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.5344, allocations: 362.7 kB / 0.6149 GB, free: 23.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.024e-06/0.5344, allocations: 0 / 0.6149 GB, free: 23.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/0.5884, allocations: 19.19 MB / 0.6336 GB, free: 12.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.23, allocations: 6.047 kB / 0.6336 GB, free: 12.64 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_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_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable v.re in file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.580019508954138]