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.0007715/0.0007715, allocations: 83.69 kB / 21.43 MB, free: 3.121 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.002996/0.002996, allocations: 162.6 kB / 24.7 MB, free: 9.406 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.8296/0.8296, allocations: 177.2 MB / 205 MB, free: 5.727 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.2401/0.2401, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.253e-05, allocations: 4.109 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.1812/0.1813, allocations: 5.794 MB / 449.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1831, allocations: 2.128 MB / 451.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.1833, allocations: 21.34 kB / 451.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1846, allocations: 1.496 MB / 452.9 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007438/0.1853, allocations: 0.714 MB / 453.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.1858, allocations: 0.5751 MB / 454.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.1864, allocations: 1.219 MB / 455.4 MB, free: 37.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.187, allocations: 0.8415 MB / 456.2 MB, free: 37.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.1875, allocations: 0.7269 MB / 456.9 MB, free: 36.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.1878, allocations: 485.9 kB / 457.4 MB, free: 36.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.1879, allocations: 109.2 kB / 457.5 MB, free: 36.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.1881, allocations: 290.5 kB / 457.8 MB, free: 36.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.1882, allocations: 260.7 kB / 458.1 MB, free: 36.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1884, allocations: 388.4 kB / 458.4 MB, free: 36.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.1891, allocations: 1.547 MB / 460 MB, free: 35.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1892, allocations: 4 kB / 460 MB, free: 35.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1892, allocations: 0 / 460 MB, free: 35.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1892, allocations: 2.875 kB / 460 MB, free: 35.7 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.002007/0.1912, allocations: 1.607 MB / 461.6 MB, free: 34.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1912, allocations: 10.62 kB / 461.6 MB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.1948, allocations: 1.116 MB / 462.7 MB, free: 34.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.1953, allocations: 477 kB / 463.2 MB, free: 34.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.1954, allocations: 89.58 kB / 463.3 MB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1955, allocations: 115.5 kB / 463.4 MB, free: 34.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1968, allocations: 1.453 MB / 464.9 MB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.1968, allocations: 3.062 kB / 464.9 MB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.1969, allocations: 49.25 kB / 464.9 MB, free: 33.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.1969, allocations: 34.34 kB / 464.9 MB, free: 33.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.1984, allocations: 1.412 MB / 466.4 MB, free: 32.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.2015, allocations: 3.515 MB / 469.9 MB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.2029, allocations: 1.006 MB / 470.9 MB, free: 30.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.2033, allocations: 395.8 kB / 471.3 MB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.2034, allocations: 34.08 kB / 471.3 MB, free: 30.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2034, allocations: 49 kB / 471.3 MB, free: 30.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=84): time 2.324e-06/0.2034, allocations: 0 / 471.3 MB, free: 30.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.001608/0.205, allocations: 1.162 MB / 472.5 MB, free: 29.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2051, allocations: 245.4 kB / 472.7 MB, free: 29.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2053, allocations: 443.9 kB / 473.2 MB, free: 29.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.2054, allocations: 40.77 kB / 473.2 MB, free: 29.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2055, allocations: 491.1 kB / 473.7 MB, free: 28.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2056, allocations: 300.6 kB / 474 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.2058, allocations: 200.1 kB / 474.2 MB, free: 28.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.2058, allocations: 363.2 kB / 474.5 MB, free: 28.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.2063, allocations: 387 kB / 474.9 MB, free: 27.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.2068, allocations: 0.7107 MB / 475.6 MB, free: 27.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.2078, allocations: 1.053 MB / 476.7 MB, free: 26.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2078, allocations: 5.812 kB / 476.7 MB, free: 26.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00128/0.2091, allocations: 1.194 MB / 477.9 MB, free: 26.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2091, allocations: 8.656 kB / 477.9 MB, free: 26.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2091, allocations: 9.25 kB / 477.9 MB, free: 26.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/0.2092, allocations: 36.25 kB / 477.9 MB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.2098, allocations: 288.9 kB / 478.2 MB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.2098, allocations: 21.5 kB / 478.2 MB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.2101, allocations: 139.2 kB / 478.4 MB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.2102, allocations: 51.28 kB / 478.4 MB, free: 26.15 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.0001935/0.2104, allocations: 256.7 kB / 478.7 MB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2105, allocations: 60.22 kB / 478.7 MB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.2117, allocations: 1.016 MB / 479.7 MB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2117, allocations: 9.781 kB / 479.8 MB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.2117, allocations: 3.094 kB / 479.8 MB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.2117, allocations: 10.73 kB / 479.8 MB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.2137, allocations: 2.003 MB / 481.8 MB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2137, allocations: 5.844 kB / 481.8 MB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.2141, allocations: 213.2 kB / 482 MB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.532e-05/0.2142, allocations: 32.7 kB / 482 MB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2142, allocations: 24.16 kB / 482 MB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.2142, allocations: 14.59 kB / 482.1 MB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2142, allocations: 10.06 kB / 482.1 MB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.216, allocations: 1.826 MB / 483.9 MB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.216, allocations: 67.03 kB / 484 MB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.2161, allocations: 29.08 kB / 484 MB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.2164, allocations: 65 kB / 484 MB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2165, allocations: 67.05 kB / 484.1 MB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.2166, allocations: 34.94 kB / 484.1 MB, free: 23.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.2168, allocations: 296.4 kB / 484.4 MB, free: 23.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2168, allocations: 0 / 484.4 MB, free: 23.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006586/0.2174, allocations: 305.3 kB / 484.7 MB, free: 23.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.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.0002025/0.2176, allocations: 156 kB / 484.9 MB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.2189, allocations: 0.9186 MB / 485.8 MB, free: 22.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2189, allocations: 4.672 kB / 485.8 MB, free: 22.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.2195, allocations: 441.5 kB / 486.2 MB, free: 22.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.2201, allocations: 102.7 kB / 486.3 MB, free: 22.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.2217, allocations: 1.666 MB / 488 MB, free: 21.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.222, allocations: 389.9 kB / 488.4 MB, free: 21.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.2222, allocations: 101.8 kB / 488.5 MB, free: 21.3 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2222, allocations: 1.062 kB / 488.5 MB, free: 21.3 MB / 410.7 MB Notification: Performance of Templates: time 0.01388/0.2361, allocations: 15.89 MB / 0.4926 GB, free: 17.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.479625171981752]