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.00109/0.00109, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001126/0.001126, 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.9071/0.9071, allocations: 177.2 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2624/0.2624, allocations: 32.8 MB / 293.5 MB, free: 1.23 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 4 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.84e-05, allocations: 2.281 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.1837/0.1838, allocations: 6.131 MB / 445.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.186, allocations: 2.141 MB / 447.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.1863, allocations: 28.44 kB / 447.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.188, allocations: 1.488 MB / 449.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009892/0.1889, allocations: 0.6873 MB / 450.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.1897, allocations: 0.6877 MB / 450.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.1903, allocations: 1.191 MB / 451.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.191, allocations: 0.7644 MB / 452.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.1915, allocations: 0.683 MB / 453.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.1918, allocations: 471.1 kB / 453.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.1919, allocations: 95.88 kB / 453.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.1923, allocations: 280.8 kB / 454.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.1924, allocations: 252.1 kB / 454.5 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.1926, allocations: 388.3 kB / 454.8 MB, free: 38.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.1934, allocations: 1.479 MB / 456.3 MB, free: 38.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1934, allocations: 0 / 456.3 MB, free: 38.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1934, allocations: 0 / 456.3 MB, free: 38.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1934, allocations: 4 kB / 456.3 MB, free: 38.37 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002049/0.1954, allocations: 1.623 MB / 457.9 MB, free: 37.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1955, allocations: 9.906 kB / 458 MB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.1956, allocations: 180 kB / 458.1 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.2, allocations: 1.26 MB / 459.4 MB, free: 37.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.2007, allocations: 484 kB / 459.9 MB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.2007, allocations: 91.72 kB / 460 MB, free: 36.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.2009, allocations: 126.8 kB / 460.1 MB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.2021, allocations: 1.333 MB / 461.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.2022, allocations: 3.062 kB / 461.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.2022, allocations: 49.91 kB / 461.5 MB, free: 35.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.2023, allocations: 28.53 kB / 461.5 MB, free: 35.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.2036, allocations: 1.358 MB / 462.9 MB, free: 35.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.2074, allocations: 3.545 MB / 466.4 MB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009586/0.2084, allocations: 0.7997 MB / 467.2 MB, free: 33.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.2087, allocations: 327.2 kB / 467.5 MB, free: 33.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.2088, allocations: 34.47 kB / 467.5 MB, free: 33.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2088, allocations: 42.69 kB / 467.6 MB, free: 33.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=89): time 2.164e-06/0.2088, allocations: 0 / 467.6 MB, free: 33.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.001274/0.2101, allocations: 1.054 MB / 468.6 MB, free: 32.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.2101, allocations: 62.09 kB / 468.7 MB, free: 32.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.2106, allocations: 0.8006 MB / 469.5 MB, free: 32.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2107, allocations: 40.86 kB / 469.5 MB, free: 32.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.2108, allocations: 474.3 kB / 470 MB, free: 31.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2109, allocations: 308.5 kB / 470.3 MB, free: 31.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.2111, allocations: 195.4 kB / 470.5 MB, free: 31.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.2112, allocations: 392.8 kB / 470.9 MB, free: 31.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.2116, allocations: 346.4 kB / 471.2 MB, free: 30.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.212, allocations: 0.5658 MB / 471.8 MB, free: 30.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.2128, allocations: 0.9246 MB / 472.7 MB, free: 29.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2128, allocations: 0 / 472.7 MB, free: 29.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001105/0.2139, allocations: 1.145 MB / 473.9 MB, free: 29.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2139, allocations: 11.12 kB / 473.9 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.214, allocations: 6.062 kB / 473.9 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.2141, allocations: 69.69 kB / 473.9 MB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.2146, allocations: 254 kB / 474.2 MB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009144/0.2155, allocations: 2.606 MB / 476.8 MB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.2159, allocations: 152.8 kB / 476.9 MB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.216, allocations: 47.44 kB / 477 MB, free: 26.68 MB / 410.7 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.0001908/0.2161, allocations: 242.8 kB / 477.2 MB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.2162, allocations: 90.31 kB / 477.3 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.2173, allocations: 1.102 MB / 478.4 MB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2173, allocations: 12.52 kB / 478.4 MB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2173, allocations: 4.531 kB / 478.4 MB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2173, allocations: 7.562 kB / 478.4 MB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.2192, allocations: 2.167 MB / 480.6 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.2192, allocations: 11.09 kB / 480.6 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.2196, allocations: 174.9 kB / 480.8 MB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.2197, allocations: 66.42 kB / 480.9 MB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.2197, allocations: 28.14 kB / 480.9 MB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007531/0.2204, allocations: 2.605 MB / 483.5 MB, free: 22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2204, allocations: 17.53 kB / 483.5 MB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2218, allocations: 1.455 MB / 485 MB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.2219, allocations: 124.4 kB / 485.1 MB, free: 21.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.222, allocations: 26.34 kB / 485.1 MB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.2223, allocations: 51.86 kB / 485.2 MB, free: 21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.2224, allocations: 78.98 kB / 485.2 MB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.2224, allocations: 34.88 kB / 485.3 MB, free: 20.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004256/0.2229, allocations: 0.5567 MB / 485.8 MB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2229, allocations: 0 / 485.8 MB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005922/0.2235, allocations: 297.1 kB / 486.1 MB, free: 20.67 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 (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.001636/0.2251, allocations: 2.064 MB / 488.2 MB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.2262, allocations: 1.027 MB / 489.2 MB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2262, allocations: 1.062 kB / 489.2 MB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.2268, allocations: 0.587 MB / 489.8 MB, free: 18.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2273, allocations: 129.7 kB / 489.9 MB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/0.2349, allocations: 8.1 MB / 498 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.2352, allocations: 400.4 kB / 498.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000352/0.2356, allocations: 149 kB / 498.6 MB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.2359, allocations: 361.2 kB / 498.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2359, allocations: 0 / 498.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/0.2744, allocations: 20.49 MB / 0.5072 GB, free: 3.707 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.894, allocations: 11.12 kB / 0.5072 GB, free: 3.699 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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: 10.003565460443497]