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.0009399/0.0009399, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001456/0.001456, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9171/0.9171, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2538/0.2538, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 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 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.1e-05, allocations: 2.281 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.192/0.192, allocations: 6.588 MB / 448.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1946, allocations: 2.223 MB / 451 MB, free: 39.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.1949, allocations: 28.56 kB / 451 MB, free: 39.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.1965, allocations: 1.719 MB / 452.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009373/0.1974, allocations: 0.711 MB / 453.4 MB, free: 37.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.1982, allocations: 0.7211 MB / 454.2 MB, free: 37.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.1988, allocations: 1.288 MB / 455.5 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.1995, allocations: 0.8562 MB / 456.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.1999, allocations: 0.7518 MB / 457.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.2003, allocations: 0.5091 MB / 457.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.2004, allocations: 106.1 kB / 457.7 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.2007, allocations: 293.4 kB / 458 MB, free: 35.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.2008, allocations: 279.8 kB / 458.2 MB, free: 35.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.201, allocations: 419.7 kB / 458.6 MB, free: 35.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.2019, allocations: 1.636 MB / 460.3 MB, free: 34.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2019, allocations: 0 / 460.3 MB, free: 34.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2019, allocations: 0 / 460.3 MB, free: 34.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.2019, allocations: 0 / 460.3 MB, free: 34.78 MB / 410.7 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.002141/0.204, allocations: 1.75 MB / 462 MB, free: 33.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2041, allocations: 9.594 kB / 462 MB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.2042, allocations: 199.6 kB / 462.2 MB, free: 33.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.2084, allocations: 1.265 MB / 463.5 MB, free: 33.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.2089, allocations: 0.5089 MB / 464 MB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.209, allocations: 97.31 kB / 464.1 MB, free: 33.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2091, allocations: 132.4 kB / 464.2 MB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.2103, allocations: 1.429 MB / 465.7 MB, free: 32.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.2104, allocations: 3.125 kB / 465.7 MB, free: 32.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.2104, allocations: 57.09 kB / 465.7 MB, free: 32.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.2105, allocations: 29.47 kB / 465.7 MB, free: 32.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.2118, allocations: 1.445 MB / 467.2 MB, free: 31.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.2155, allocations: 3.842 MB / 471 MB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.2164, allocations: 0.8147 MB / 471.9 MB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.2168, allocations: 337.2 kB / 472.2 MB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.2168, allocations: 29.69 kB / 472.2 MB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2168, allocations: 60.72 kB / 472.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 1.823e-06/0.2168, allocations: 0 / 472.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=90): time 0.001243/0.2181, allocations: 1.059 MB / 473.3 MB, free: 28.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.2181, allocations: 58.91 kB / 473.4 MB, free: 28.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.2186, allocations: 0.8449 MB / 474.2 MB, free: 28.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.2187, allocations: 43.48 kB / 474.3 MB, free: 28.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2188, allocations: 0.5106 MB / 474.8 MB, free: 27.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.774e-05/0.2189, allocations: 321.4 kB / 475.1 MB, free: 27.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.2191, allocations: 202.2 kB / 475.3 MB, free: 27.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.2192, allocations: 401.4 kB / 475.7 MB, free: 27.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.2195, allocations: 348.5 kB / 476 MB, free: 26.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.2199, allocations: 0.6233 MB / 476.7 MB, free: 26.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.2207, allocations: 0.9924 MB / 477.6 MB, free: 25.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2207, allocations: 3.062 kB / 477.6 MB, free: 25.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001162/0.2219, allocations: 1.195 MB / 478.8 MB, free: 25.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2219, allocations: 9.75 kB / 478.9 MB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2219, allocations: 7.125 kB / 478.9 MB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.2221, allocations: 79.66 kB / 478.9 MB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.2226, allocations: 260.2 kB / 479.2 MB, free: 25.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009583/0.2236, allocations: 2.608 MB / 481.8 MB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.224, allocations: 157.4 kB / 482 MB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.224, allocations: 47.92 kB / 482 MB, free: 22.48 MB / 410.7 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.0002057/0.2242, allocations: 255.9 kB / 482.2 MB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.2243, allocations: 101.8 kB / 482.3 MB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.2255, allocations: 1.109 MB / 483.5 MB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2255, allocations: 9.219 kB / 483.5 MB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2255, allocations: 1.312 kB / 483.5 MB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2255, allocations: 4.641 kB / 483.5 MB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.228, allocations: 2.214 MB / 485.7 MB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.228, allocations: 9.688 kB / 485.7 MB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.2284, allocations: 185.7 kB / 485.9 MB, free: 20.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.2285, allocations: 61.67 kB / 485.9 MB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.2286, allocations: 28.97 kB / 486 MB, free: 20.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008964/0.2295, allocations: 2.613 MB / 488.6 MB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.2295, allocations: 10.69 kB / 488.6 MB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.231, allocations: 1.469 MB / 490.1 MB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-05/0.2311, allocations: 131.2 kB / 490.2 MB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.2312, allocations: 27.33 kB / 490.2 MB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.2315, allocations: 46.72 kB / 490.3 MB, free: 16.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.2315, allocations: 88.91 kB / 490.3 MB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.2316, allocations: 30.59 kB / 490.4 MB, free: 16.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000488/0.2321, allocations: 0.5885 MB / 491 MB, free: 16.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2321, allocations: 0 / 491 MB, free: 16.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006478/0.2327, allocations: 315.5 kB / 491.3 MB, free: 16.42 MB / 410.7 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.001806/0.2345, allocations: 2.071 MB / 493.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.2358, allocations: 1.059 MB / 494.4 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2358, allocations: 3.281 kB / 494.4 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.2365, allocations: 0.5899 MB / 495 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.2371, allocations: 118.3 kB / 495.1 MB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00934/0.2464, allocations: 8.483 MB / 0.4918 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2467, allocations: 427.4 kB / 0.4922 GB, free: 9.012 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003668/0.2471, allocations: 154.3 kB / 0.4923 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.2474, allocations: 388.2 kB / 0.4927 GB, free: 8.684 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2474, allocations: 0 / 0.4927 GB, free: 8.684 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.2896, allocations: 21.27 MB / 0.5135 GB, free: 11.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.116, allocations: 0 / 0.5135 GB, free: 11.71 MB / 426.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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: 10.307358759455383]