Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 120.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 186.9 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2125/0.2125, allocations: 38.51 MB / 342.5 MB, free: 8.082 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 66.36 kB / 478.6 MB, free: 33.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1555, allocations: 61.25 MB / 0.5272 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.01143/0.167, allocations: 6.707 MB / 0.5338 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.1719, allocations: 2.025 MB / 0.5357 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008243/0.1727, allocations: 23.88 kB / 0.5358 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.1752, allocations: 0.7389 MB / 0.5365 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.1774, allocations: 0.5755 MB / 0.537 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.1783, allocations: 251.5 kB / 0.5373 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.1802, allocations: 1.137 MB / 0.5384 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008703/0.1811, allocations: 477.7 kB / 0.5388 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.1823, allocations: 0.5213 MB / 0.5394 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.1835, allocations: 0.658 MB / 0.54 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1836, allocations: 68 kB / 0.5401 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006911/0.1843, allocations: 283.6 kB / 0.5403 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.185, allocations: 494.6 kB / 0.5408 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006604/0.1856, allocations: 0.4898 MB / 0.5413 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.1875, allocations: 1.179 MB / 0.5424 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1875, allocations: 0 / 0.5424 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1875, allocations: 0 / 0.5424 GB, free: 1.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.108e-05/0.1875, allocations: 0 / 0.5424 GB, free: 1.742 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002773/0.1903, allocations: 1.23 MB / 0.5436 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.1903, allocations: 15.89 kB / 0.5436 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.1905, allocations: 147.9 kB / 0.5438 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.1916, allocations: 172.1 kB / 0.544 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.1933, allocations: 0.6244 MB / 0.5446 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.1934, allocations: 70.36 kB / 0.5446 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.1937, allocations: 103.8 kB / 0.5447 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.1958, allocations: 1.161 MB / 0.5459 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.1958, allocations: 0 / 0.5459 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-05/0.1959, allocations: 35.98 kB / 0.5459 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/0.1961, allocations: 85.89 kB / 0.546 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.1982, allocations: 1.007 MB / 0.547 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007194/0.2054, allocations: 4.355 MB / 0.5512 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.2067, allocations: 0.5914 MB / 0.5518 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005204/0.2072, allocations: 283.3 kB / 0.5521 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.2073, allocations: 12.56 kB / 0.5521 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.2073, allocations: 39.12 kB / 0.5521 GB, free: 7.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.877e-06/0.2073, allocations: 0 / 0.5521 GB, free: 7.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003567/0.2109, allocations: 1.756 MB / 0.5538 GB, free: 5.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.211, allocations: 85.67 kB / 0.5539 GB, free: 5.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007337/0.2117, allocations: 0.5535 MB / 0.5544 GB, free: 4.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.2118, allocations: 41.69 kB / 0.5545 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.2121, allocations: 448 kB / 0.5549 GB, free: 4.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.2124, allocations: 230.1 kB / 0.5551 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.2126, allocations: 186.5 kB / 0.5553 GB, free: 4.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.2129, allocations: 374.8 kB / 0.5557 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.2134, allocations: 289.8 kB / 0.5559 GB, free: 3.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.2142, allocations: 0.6115 MB / 0.5565 GB, free: 2.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.2156, allocations: 0.973 MB / 0.5575 GB, free: 1.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2156, allocations: 4 kB / 0.5575 GB, free: 1.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002508/0.2182, allocations: 1.169 MB / 0.5586 GB, free: 300 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.2182, allocations: 12 kB / 0.5587 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001513/0.2197, allocations: 0.7084 MB / 0.5593 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/0.2205, allocations: 218.4 kB / 0.5596 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.2214, allocations: 223.6 kB / 0.5598 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.2275, allocations: 5.369 MB / 0.565 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.2283, allocations: 39.94 kB / 0.565 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.2284, allocations: 44.06 kB / 0.5651 GB, free: 9.242 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006786/0.2291, allocations: 352.1 kB / 0.5654 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.2292, allocations: 71.52 kB / 0.5655 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.2305, allocations: 0.6461 MB / 0.5661 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2305, allocations: 7.984 kB / 0.5661 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2305, allocations: 4 kB / 0.5661 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2305, allocations: 3.938 kB / 0.5661 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.2337, allocations: 1.543 MB / 0.5676 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2337, allocations: 3.938 kB / 0.5676 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008866/0.2346, allocations: 171.8 kB / 0.5678 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.2346, allocations: 4 kB / 0.5678 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/0.2347, allocations: 19.98 kB / 0.5678 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.2347, allocations: 4 kB / 0.5678 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2347, allocations: 4.156 kB / 0.5678 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.2363, allocations: 1.03 MB / 0.5688 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.2368, allocations: 188.6 kB / 0.569 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.2369, allocations: 15.98 kB / 0.569 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.2372, allocations: 16 kB / 0.5691 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.2374, allocations: 48.44 kB / 0.5691 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.2374, allocations: 19.98 kB / 0.5691 GB, free: 4.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004954/0.2379, allocations: 358.8 kB / 0.5695 GB, free: 4.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2379, allocations: 0 / 0.5695 GB, free: 4.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001097/0.239, allocations: 224 kB / 0.5697 GB, free: 4.406 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002087/0.2411, allocations: 1.587 MB / 0.5712 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.2433, allocations: 1.073 MB / 0.5723 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.2433, allocations: 0 / 0.5723 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.2438, allocations: 299.3 kB / 0.5726 GB, free: 1.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2448, allocations: 167.5 kB / 0.5727 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.257, allocations: 7.155 MB / 0.5797 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/0.2579, allocations: 1.067 MB / 0.5808 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007239/0.2586, allocations: 233.5 kB / 0.581 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.2591, allocations: 307.3 kB / 0.5813 GB, free: 7.988 MB / 446.1 MB Notification: Performance of SimCode: time 1.894e-06/0.2591, allocations: 0 / 0.5813 GB, free: 7.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06141/0.3205, allocations: 15.59 MB / 0.5965 GB, free: 8.539 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.79, allocations: 11.53 kB / 0.5965 GB, free: 8.531 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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: 15.292422261089087]