Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.0008478/0.0008478, 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.0009884/0.0009884, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9416/0.9416, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.256/0.256, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.763e-05, allocations: 7.625 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.1826/0.1826, allocations: 5.791 MB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.1852, allocations: 2.132 MB / 450.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.1855, allocations: 17.56 kB / 450.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.1868, allocations: 1.496 MB / 451.6 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009235/0.1877, allocations: 0.7179 MB / 452.3 MB, free: 38.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.1884, allocations: 0.5758 MB / 452.9 MB, free: 38.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.189, allocations: 1.215 MB / 454.1 MB, free: 37.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007086/0.1897, allocations: 0.8489 MB / 455 MB, free: 37.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.1902, allocations: 0.7274 MB / 455.7 MB, free: 36.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.1905, allocations: 483.6 kB / 456.2 MB, free: 36.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.554e-05/0.1906, allocations: 105.2 kB / 456.3 MB, free: 36.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.1909, allocations: 282.2 kB / 456.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/0.191, allocations: 264.8 kB / 456.8 MB, free: 36.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.1912, allocations: 393.1 kB / 457.2 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.1921, allocations: 1.543 MB / 458.7 MB, free: 35.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1921, allocations: 3 kB / 458.7 MB, free: 35.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1921, allocations: 4 kB / 458.7 MB, free: 35.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1921, allocations: 0 / 458.7 MB, free: 35.64 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002156/0.1942, allocations: 1.598 MB / 460.3 MB, free: 34.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1943, allocations: 11.06 kB / 460.4 MB, free: 34.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.1945, allocations: 179.5 kB / 460.5 MB, free: 34.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/0.1982, allocations: 1.124 MB / 461.7 MB, free: 34.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.1988, allocations: 488.8 kB / 462.1 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.1989, allocations: 87.64 kB / 462.2 MB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.199, allocations: 119 kB / 462.3 MB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2006, allocations: 1.464 MB / 463.8 MB, free: 33.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.2006, allocations: 7.281 kB / 463.8 MB, free: 33.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/0.2007, allocations: 52.25 kB / 463.9 MB, free: 33.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.2007, allocations: 29.19 kB / 463.9 MB, free: 33.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.2023, allocations: 1.419 MB / 465.3 MB, free: 32.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.2063, allocations: 3.708 MB / 469 MB, free: 30.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.2077, allocations: 1.012 MB / 470 MB, free: 30.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.2082, allocations: 389.8 kB / 470.4 MB, free: 29.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.235e-05/0.2083, allocations: 30.53 kB / 470.4 MB, free: 29.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2083, allocations: 48.45 kB / 470.5 MB, free: 29.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=84): time 3.347e-06/0.2083, allocations: 0 / 470.5 MB, free: 29.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.001807/0.2101, allocations: 1.173 MB / 471.7 MB, free: 29.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.2102, allocations: 247.7 kB / 471.9 MB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.2106, allocations: 0.5749 MB / 472.5 MB, free: 28.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.2106, allocations: 43.52 kB / 472.5 MB, free: 28.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2108, allocations: 479.4 kB / 473 MB, free: 28.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2109, allocations: 304.4 kB / 473.3 MB, free: 28.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2111, allocations: 198.8 kB / 473.5 MB, free: 28.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.2111, allocations: 378.8 kB / 473.8 MB, free: 27.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.2116, allocations: 379.5 kB / 474.2 MB, free: 27.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.2122, allocations: 0.7189 MB / 474.9 MB, free: 27.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2132, allocations: 1.052 MB / 476 MB, free: 26.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.2132, allocations: 6.75 kB / 476 MB, free: 26.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001392/0.2146, allocations: 1.198 MB / 477.2 MB, free: 25.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2147, allocations: 12.27 kB / 477.2 MB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2147, allocations: 10.03 kB / 477.2 MB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.2148, allocations: 36.73 kB / 477.2 MB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.2153, allocations: 291 kB / 477.5 MB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.2154, allocations: 19.75 kB / 477.5 MB, free: 25.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.2158, allocations: 154.9 kB / 477.7 MB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.2159, allocations: 58.94 kB / 477.8 MB, free: 25.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.2161, allocations: 254 kB / 478 MB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2162, allocations: 75.3 kB / 478.1 MB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.2175, allocations: 1.029 MB / 479.1 MB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.2175, allocations: 9.344 kB / 479.1 MB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2175, allocations: 5.312 kB / 479.1 MB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2176, allocations: 6.75 kB / 479.1 MB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.2199, allocations: 2.138 MB / 481.3 MB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2199, allocations: 5.344 kB / 481.3 MB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.2204, allocations: 217.7 kB / 481.5 MB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-05/0.2204, allocations: 28.08 kB / 481.5 MB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.2205, allocations: 27.38 kB / 481.5 MB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.2205, allocations: 5.688 kB / 481.5 MB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2205, allocations: 1.062 kB / 481.5 MB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.2223, allocations: 1.841 MB / 483.4 MB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2225, allocations: 84.31 kB / 483.5 MB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.2225, allocations: 18.78 kB / 483.5 MB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.2229, allocations: 62.88 kB / 483.5 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.223, allocations: 76.67 kB / 483.6 MB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.2231, allocations: 26.47 kB / 483.6 MB, free: 22.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003077/0.2234, allocations: 404.6 kB / 484 MB, free: 22.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2234, allocations: 4 kB / 484 MB, free: 22.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007889/0.2242, allocations: 294.4 kB / 484.3 MB, free: 22.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.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): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002139/0.2263, allocations: 2.434 MB / 486.8 MB, free: 20.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.2277, allocations: 0.912 MB / 487.7 MB, free: 20.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2277, allocations: 0.9375 kB / 487.7 MB, free: 20.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.2283, allocations: 449.6 kB / 488.1 MB, free: 20.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.229, allocations: 120.4 kB / 488.2 MB, free: 20.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/0.2379, allocations: 7.797 MB / 496 MB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2383, allocations: 390.3 kB / 496.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.2387, allocations: 137.4 kB / 496.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.2392, allocations: 371.9 kB / 496.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.505e-06/0.2392, allocations: 5.5 kB / 496.9 MB, free: 15.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.2736, allocations: 18.98 MB / 0.5038 GB, free: 6.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.817, allocations: 4.062 kB / 0.5038 GB, free: 6.406 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_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_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.022530988790095]