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.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.00132/0.00132, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001496/0.001496, allocations: 212.7 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1867/0.1867, allocations: 38.53 MB / 352.4 MB, free: 12.52 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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(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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 71.89 kB / 492.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2914, allocations: 62.46 MB / 0.542 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008519/0.3, allocations: 6.839 MB / 0.5487 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.3036, allocations: 2.058 MB / 0.5507 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.3039, allocations: 31.44 kB / 0.5507 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.3059, allocations: 0.7407 MB / 0.5514 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.3072, allocations: 0.5802 MB / 0.552 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.3078, allocations: 259.3 kB / 0.5522 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3091, allocations: 1.149 MB / 0.5534 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.3098, allocations: 480.6 kB / 0.5538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.3105, allocations: 0.5276 MB / 0.5543 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009757/0.3115, allocations: 0.6621 MB / 0.555 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.3116, allocations: 68.09 kB / 0.555 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.3122, allocations: 293.6 kB / 0.5553 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.3127, allocations: 494.3 kB / 0.5558 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005628/0.3133, allocations: 488.2 kB / 0.5563 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.3147, allocations: 1.192 MB / 0.5574 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3147, allocations: 4 kB / 0.5574 GB, free: 4.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3147, allocations: 0 / 0.5574 GB, free: 4.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3148, allocations: 0 / 0.5574 GB, free: 4.629 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.002142/0.3169, allocations: 1.161 MB / 0.5586 GB, free: 3.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3169, allocations: 11.98 kB / 0.5586 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.3171, allocations: 147.9 kB / 0.5587 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.318, allocations: 160.2 kB / 0.5589 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3192, allocations: 0.5549 MB / 0.5594 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.3193, allocations: 70.34 kB / 0.5595 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.3195, allocations: 99.91 kB / 0.5596 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3212, allocations: 1.161 MB / 0.5607 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.3213, allocations: 7.953 kB / 0.5607 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.3214, allocations: 31.98 kB / 0.5607 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.3215, allocations: 89.88 kB / 0.5608 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.3232, allocations: 1.003 MB / 0.5618 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005958/0.3291, allocations: 4.272 MB / 0.566 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3304, allocations: 0.5878 MB / 0.5666 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.3308, allocations: 283.1 kB / 0.5668 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.3309, allocations: 8.5 kB / 0.5668 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.3309, allocations: 47.06 kB / 0.5669 GB, free: 10.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.695e-06/0.3309, allocations: 0 / 0.5669 GB, free: 10.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003078/0.334, allocations: 1.685 MB / 0.5685 GB, free: 8.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.3341, allocations: 85.77 kB / 0.5686 GB, free: 8.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.3347, allocations: 0.5495 MB / 0.5691 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3348, allocations: 33.7 kB / 0.5692 GB, free: 8.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.3351, allocations: 460.1 kB / 0.5696 GB, free: 7.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.3353, allocations: 230 kB / 0.5698 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.3355, allocations: 182.5 kB / 0.57 GB, free: 7.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.3358, allocations: 378.8 kB / 0.5704 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.3363, allocations: 289.8 kB / 0.5706 GB, free: 6.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/0.3371, allocations: 0.6115 MB / 0.5712 GB, free: 5.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.3384, allocations: 0.9749 MB / 0.5722 GB, free: 4.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.3384, allocations: 4 kB / 0.5722 GB, free: 4.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002345/0.3408, allocations: 1.166 MB / 0.5733 GB, free: 3.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.3408, allocations: 11.98 kB / 0.5733 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001442/0.3422, allocations: 0.7153 MB / 0.574 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007855/0.343, allocations: 218.3 kB / 0.5743 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.3438, allocations: 215.7 kB / 0.5745 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/0.3492, allocations: 5.066 MB / 0.5794 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.3497, allocations: 32 kB / 0.5794 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/0.3498, allocations: 47.98 kB / 0.5795 GB, free: 12.89 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.0004879/0.3503, allocations: 341.5 kB / 0.5798 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3504, allocations: 71.52 kB / 0.5799 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.3516, allocations: 0.6599 MB / 0.5805 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3516, allocations: 8.141 kB / 0.5805 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.3516, allocations: 4 kB / 0.5805 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.3516, allocations: 7.969 kB / 0.5805 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.3543, allocations: 1.514 MB / 0.582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3543, allocations: 0 / 0.582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/0.3551, allocations: 171.8 kB / 0.5822 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.3551, allocations: 4 kB / 0.5822 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.3551, allocations: 20 kB / 0.5822 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.3552, allocations: 7.984 kB / 0.5822 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3552, allocations: 0 / 0.5822 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3567, allocations: 1.029 MB / 0.5832 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.3569, allocations: 103.6 kB / 0.5833 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.357, allocations: 19.98 kB / 0.5833 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.3573, allocations: 20 kB / 0.5834 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.3574, allocations: 48.34 kB / 0.5834 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.3575, allocations: 23.98 kB / 0.5834 GB, free: 8.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004169/0.3579, allocations: 358.8 kB / 0.5838 GB, free: 8.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3579, allocations: 4 kB / 0.5838 GB, free: 8.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008005/0.3587, allocations: 216 kB / 0.584 GB, free: 8.168 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.001879/0.3606, allocations: 1.6 MB / 0.5855 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.3624, allocations: 1.08 MB / 0.5866 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3624, allocations: 0 / 0.5866 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.3629, allocations: 295.4 kB / 0.5869 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.3637, allocations: 165.3 kB / 0.587 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.3744, allocations: 7.17 MB / 0.594 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.3752, allocations: 1.063 MB / 0.5951 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006831/0.3759, allocations: 225.6 kB / 0.5953 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/0.3763, allocations: 311.3 kB / 0.5956 GB, free: 11.74 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3763, allocations: 0 / 0.5956 GB, free: 11.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05553/0.4319, allocations: 16.29 MB / 0.6115 GB, free: 11.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.96, allocations: 12.88 kB / 0.6115 GB, free: 11.57 MB / 462.1 MB " [Timeout remaining time 647] (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/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.754871082026511]