Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002007/0.002007, 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.002448/0.002448, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.499/1.499, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 46.92 MB / 357.1 MB, free: 10.3 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+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_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.89 kB / 0.4909 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1478, allocations: 66 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00975/0.1575, allocations: 7.522 MB / 0.5627 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.1628, allocations: 2.365 MB / 0.565 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005479/0.1633, allocations: 27.94 kB / 0.5651 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.1673, allocations: 1.749 MB / 0.5668 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.1693, allocations: 0.7029 MB / 0.5675 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.171, allocations: 0.7588 MB / 0.5682 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.1725, allocations: 1.245 MB / 0.5694 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.1737, allocations: 0.7154 MB / 0.5701 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.1745, allocations: 0.5292 MB / 0.5706 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007847/0.1753, allocations: 0.6575 MB / 0.5713 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.1754, allocations: 108 kB / 0.5714 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.1761, allocations: 299.8 kB / 0.5717 GB, free: 5.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1764, allocations: 278.9 kB / 0.5719 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005846/0.1769, allocations: 0.6024 MB / 0.5725 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.179, allocations: 1.611 MB / 0.5741 GB, free: 2.559 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.179, allocations: 4 kB / 0.5741 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.179, allocations: 4 kB / 0.5741 GB, free: 2.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.179, allocations: 0 / 0.5741 GB, free: 2.551 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004576/0.1836, allocations: 1.825 MB / 0.5759 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.1836, allocations: 8.031 kB / 0.5759 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.1838, allocations: 206.6 kB / 0.5761 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009502/0.1933, allocations: 1.264 MB / 0.5773 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.1947, allocations: 0.5765 MB / 0.5779 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-05/0.1948, allocations: 99.03 kB / 0.578 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.195, allocations: 139.9 kB / 0.5781 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.1974, allocations: 1.245 MB / 0.5793 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.1974, allocations: 4 kB / 0.5793 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.1975, allocations: 52 kB / 0.5794 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.1976, allocations: 35.98 kB / 0.5794 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.2002, allocations: 1.463 MB / 0.5808 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008823/0.209, allocations: 5.813 MB / 0.5865 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.2111, allocations: 1.038 MB / 0.5875 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.2117, allocations: 338.5 kB / 0.5879 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.2119, allocations: 191.2 kB / 0.588 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.2119, allocations: 39.56 kB / 0.5881 GB, free: 3.508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 3.376e-06/0.2119, allocations: 0 / 0.5881 GB, free: 3.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002644/0.2146, allocations: 1.214 MB / 0.5893 GB, free: 2.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2146, allocations: 60.41 kB / 0.5893 GB, free: 2.176 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.2158, allocations: 0.8325 MB / 0.5901 GB, free: 1.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.2158, allocations: 41.7 kB / 0.5902 GB, free: 1.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.2163, allocations: 0.5195 MB / 0.5907 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.2166, allocations: 325.2 kB / 0.591 GB, free: 444 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/0.2169, allocations: 206.8 kB / 0.5912 GB, free: 228 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2734/0.4903, allocations: 395.2 kB / 0.5916 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008523/0.4912, allocations: 349.2 kB / 0.5919 GB, free: 33.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007217/0.4919, allocations: 0.6145 MB / 0.5925 GB, free: 33.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.4933, allocations: 0.9949 MB / 0.5935 GB, free: 32.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4933, allocations: 2.031 kB / 0.5935 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002196/0.4955, allocations: 1.195 MB / 0.5946 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4955, allocations: 12.31 kB / 0.5946 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4955, allocations: 8.891 kB / 0.5947 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.4958, allocations: 67.92 kB / 0.5947 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/0.4968, allocations: 266.6 kB / 0.595 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4983, allocations: 2.823 MB / 0.5977 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.4992, allocations: 159 kB / 0.5979 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.4992, allocations: 48.88 kB / 0.5979 GB, free: 30.02 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.0003589/0.4996, allocations: 258.2 kB / 0.5982 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4997, allocations: 104.4 kB / 0.5983 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.5016, allocations: 1.103 MB / 0.5994 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5016, allocations: 9.906 kB / 0.5994 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5016, allocations: 4.688 kB / 0.5994 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5017, allocations: 4.781 kB / 0.5994 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.5054, allocations: 3.176 MB / 0.6025 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.5054, allocations: 6.531 kB / 0.6025 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.5062, allocations: 180.1 kB / 0.6026 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/0.5064, allocations: 66.86 kB / 0.6027 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.5064, allocations: 27.22 kB / 0.6027 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.5079, allocations: 2.82 MB / 0.6055 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/0.5079, allocations: 7.062 kB / 0.6055 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.5101, allocations: 1.485 MB / 0.607 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.5103, allocations: 202.8 kB / 0.6071 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.5105, allocations: 28.84 kB / 0.6072 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.5111, allocations: 50.23 kB / 0.6072 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5112, allocations: 84.11 kB / 0.6073 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.5113, allocations: 32.94 kB / 0.6073 GB, free: 23.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007529/0.512, allocations: 0.579 MB / 0.6079 GB, free: 23.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.512, allocations: 0 / 0.6079 GB, free: 23.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001094/0.5131, allocations: 318 kB / 0.6082 GB, free: 22.96 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 (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.002592/0.5157, allocations: 2.092 MB / 0.6102 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.5176, allocations: 1.055 MB / 0.6113 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.5176, allocations: 3.562 kB / 0.6113 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009559/0.5186, allocations: 0.5932 MB / 0.6119 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.5194, allocations: 114.8 kB / 0.612 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.5315, allocations: 8.466 MB / 0.6202 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.5321, allocations: 1.015 MB / 0.6212 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006101/0.5327, allocations: 155.4 kB / 0.6214 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.5332, allocations: 393.6 kB / 0.6217 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5332, allocations: 1.5 kB / 0.6217 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05146/0.5847, allocations: 19.97 MB / 0.6412 GB, free: 1.758 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.87, allocations: 0 / 0.6412 GB, free: 1.758 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.163102043996332]