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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 117.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 194.9 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.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.3647/0.3647, allocations: 44.26 MB / 343.5 MB, free: 7.586 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 62.8 kB / 478.8 MB, free: 24.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1176, allocations: 60.83 MB / 0.527 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00836/0.126, allocations: 6.93 MB / 0.5338 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.1307, allocations: 2.202 MB / 0.5359 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00079/0.1316, allocations: 24 kB / 0.536 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.1352, allocations: 1.516 MB / 0.5374 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.1377, allocations: 0.8365 MB / 0.5383 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1391, allocations: 0.5813 MB / 0.5388 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1406, allocations: 1.148 MB / 0.54 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.1418, allocations: 0.8121 MB / 0.5407 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006443/0.1425, allocations: 474 kB / 0.5412 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.1432, allocations: 0.5991 MB / 0.5418 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1434, allocations: 92 kB / 0.5419 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.1441, allocations: 283.8 kB / 0.5421 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.1443, allocations: 255 kB / 0.5424 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005542/0.1449, allocations: 0.548 MB / 0.5429 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.1467, allocations: 1.467 MB / 0.5444 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1467, allocations: 4 kB / 0.5444 GB, free: 11.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1468, allocations: 0 / 0.5444 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.1468, allocations: 4 kB / 0.5444 GB, free: 11.81 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004064/0.1509, allocations: 1.703 MB / 0.546 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.1509, allocations: 8.031 kB / 0.546 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/0.1512, allocations: 185.8 kB / 0.5462 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/0.1605, allocations: 1.327 MB / 0.5475 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.1619, allocations: 0.5372 MB / 0.548 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.162, allocations: 90.41 kB / 0.5481 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.1622, allocations: 120 kB / 0.5482 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.1644, allocations: 1.145 MB / 0.5493 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.1644, allocations: 4 kB / 0.5493 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.1646, allocations: 55.98 kB / 0.5494 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.1646, allocations: 28 kB / 0.5494 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.1669, allocations: 1.364 MB / 0.5508 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007484/0.1744, allocations: 4.662 MB / 0.5553 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.1763, allocations: 0.9281 MB / 0.5562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.1769, allocations: 366.5 kB / 0.5566 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.1771, allocations: 106 kB / 0.5567 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1771, allocations: 47.56 kB / 0.5567 GB, free: 14.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.655e-06/0.1771, allocations: 0 / 0.5567 GB, free: 14.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002307/0.1795, allocations: 1.199 MB / 0.5579 GB, free: 13.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1795, allocations: 60.41 kB / 0.5579 GB, free: 13.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.1805, allocations: 0.7778 MB / 0.5587 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.1806, allocations: 41.7 kB / 0.5587 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.1809, allocations: 472.2 kB / 0.5592 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.1812, allocations: 321.3 kB / 0.5595 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.1815, allocations: 182.9 kB / 0.5597 GB, free: 11.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.1817, allocations: 398.7 kB / 0.5601 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.1824, allocations: 346.4 kB / 0.5604 GB, free: 10.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/0.1832, allocations: 0.5544 MB / 0.5609 GB, free: 10.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.1847, allocations: 0.9231 MB / 0.5618 GB, free: 9.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.118e-06/0.1847, allocations: 7.984 kB / 0.5618 GB, free: 9.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002078/0.1868, allocations: 1.124 MB / 0.5629 GB, free: 8.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.1868, allocations: 8 kB / 0.5629 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.1868, allocations: 8 kB / 0.5629 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.1871, allocations: 69.61 kB / 0.563 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009678/0.1881, allocations: 239.7 kB / 0.5632 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.1906, allocations: 2.836 MB / 0.566 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008946/0.1915, allocations: 150.8 kB / 0.5662 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.1916, allocations: 47.98 kB / 0.5662 GB, free: 4.371 MB / 430.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.0004064/0.192, allocations: 250.2 kB / 0.5664 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1922, allocations: 91.44 kB / 0.5665 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.1941, allocations: 1.103 MB / 0.5676 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.1942, allocations: 8 kB / 0.5676 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1942, allocations: 0 / 0.5676 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.1942, allocations: 3.984 kB / 0.5676 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.1981, allocations: 2.704 MB / 0.5703 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.1981, allocations: 8 kB / 0.5703 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.1988, allocations: 171.8 kB / 0.5704 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.1991, allocations: 74.16 kB / 0.5705 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.1992, allocations: 27.98 kB / 0.5705 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/0.2015, allocations: 2.82 MB / 0.5733 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.2015, allocations: 11.94 kB / 0.5733 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.2038, allocations: 1.461 MB / 0.5747 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.2041, allocations: 208.4 kB / 0.5749 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2042, allocations: 24 kB / 0.5749 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.2049, allocations: 47.97 kB / 0.575 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.205, allocations: 80.3 kB / 0.5751 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.2051, allocations: 35.98 kB / 0.5751 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007318/0.2058, allocations: 0.5537 MB / 0.5756 GB, free: 10.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2058, allocations: 0 / 0.5756 GB, free: 10.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008824/0.2067, allocations: 287.6 kB / 0.5759 GB, free: 9.746 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.002796/0.2095, allocations: 2.071 MB / 0.5779 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.2115, allocations: 1.066 MB / 0.579 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2115, allocations: 0.5 kB / 0.579 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.2125, allocations: 0.6266 MB / 0.5796 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.2133, allocations: 122.8 kB / 0.5797 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2651/0.4784, allocations: 8.072 MB / 0.5876 GB, free: 52.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.479, allocations: 0.9919 MB / 0.5886 GB, free: 51.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.4796, allocations: 147.4 kB / 0.5887 GB, free: 51.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.4801, allocations: 354.1 kB / 0.589 GB, free: 51.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4801, allocations: 0 / 0.589 GB, free: 51.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/0.5375, allocations: 18.83 MB / 0.6074 GB, free: 46.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.75, allocations: 1.797 kB / 0.6074 GB, free: 46.2 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.827737587038428]