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.001781/0.001781, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002188/0.002188, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.1904/0.1904, allocations: 38.52 MB / 353.2 MB, free: 12.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="cs",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.002088/0.002088, allocations: 62.72 kB / 493.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 62.47 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00895/0.341, allocations: 6.823 MB / 0.5494 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.3449, allocations: 2.062 MB / 0.5514 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006838/0.3456, allocations: 30.69 kB / 0.5515 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.348, allocations: 0.7492 MB / 0.5522 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.3502, allocations: 0.5714 MB / 0.5528 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.3511, allocations: 252.2 kB / 0.553 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.353, allocations: 1.148 MB / 0.5541 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.3541, allocations: 484.8 kB / 0.5546 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.3555, allocations: 0.5232 MB / 0.5551 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.3572, allocations: 0.6662 MB / 0.5557 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.3575, allocations: 68.94 kB / 0.5558 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.3586, allocations: 299.9 kB / 0.5561 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009582/0.3596, allocations: 491.5 kB / 0.5566 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.3609, allocations: 491.4 kB / 0.557 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.3632, allocations: 1.195 MB / 0.5582 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3632, allocations: 0 / 0.5582 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3632, allocations: 4 kB / 0.5582 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.488e-05/0.3633, allocations: 0 / 0.5582 GB, free: 4.672 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.002867/0.3662, allocations: 1.15 MB / 0.5593 GB, free: 3.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3662, allocations: 19.98 kB / 0.5593 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.515e-05/0.3662, allocations: 26.19 kB / 0.5594 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.3664, allocations: 143.9 kB / 0.5595 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.3674, allocations: 164.2 kB / 0.5597 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3686, allocations: 0.5549 MB / 0.5602 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.3687, allocations: 70.11 kB / 0.5603 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.3689, allocations: 91.97 kB / 0.5604 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3708, allocations: 1.157 MB / 0.5615 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.3708, allocations: 7.953 kB / 0.5615 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.3709, allocations: 31.98 kB / 0.5615 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.3711, allocations: 93.83 kB / 0.5616 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.3728, allocations: 1.007 MB / 0.5626 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.3788, allocations: 4.264 MB / 0.5668 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.38, allocations: 0.5839 MB / 0.5673 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.3805, allocations: 299 kB / 0.5676 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3805, allocations: 12.47 kB / 0.5676 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3805, allocations: 43.06 kB / 0.5677 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.946e-06/0.3805, allocations: 0 / 0.5677 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003122/0.3837, allocations: 1.685 MB / 0.5693 GB, free: 8.867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.3837, allocations: 85.77 kB / 0.5694 GB, free: 8.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.3844, allocations: 0.5495 MB / 0.5699 GB, free: 8.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.3845, allocations: 37.7 kB / 0.57 GB, free: 8.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.3848, allocations: 444.1 kB / 0.5704 GB, free: 7.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.385, allocations: 234 kB / 0.5706 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.3852, allocations: 186.5 kB / 0.5708 GB, free: 7.305 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3854, allocations: 374.8 kB / 0.5712 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.3859, allocations: 293.8 kB / 0.5714 GB, free: 6.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000867/0.3868, allocations: 0.6076 MB / 0.572 GB, free: 5.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3882, allocations: 0.9749 MB / 0.573 GB, free: 4.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3882, allocations: 4 kB / 0.573 GB, free: 4.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002261/0.3904, allocations: 1.175 MB / 0.5741 GB, free: 3.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3904, allocations: 12 kB / 0.5741 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001402/0.3918, allocations: 0.7106 MB / 0.5748 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.3926, allocations: 218.5 kB / 0.575 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.3933, allocations: 215.6 kB / 0.5753 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005386/0.3987, allocations: 5.071 MB / 0.5802 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.3994, allocations: 32 kB / 0.5802 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.3995, allocations: 47.98 kB / 0.5803 GB, free: 12.91 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.0006132/0.4001, allocations: 341.5 kB / 0.5806 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.4003, allocations: 71.52 kB / 0.5807 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.4015, allocations: 0.6561 MB / 0.5813 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4015, allocations: 8 kB / 0.5813 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4015, allocations: 0 / 0.5813 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4015, allocations: 3.984 kB / 0.5813 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.4041, allocations: 1.51 MB / 0.5828 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4041, allocations: 4 kB / 0.5828 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007885/0.4049, allocations: 179.8 kB / 0.583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.405, allocations: 12.09 kB / 0.583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.405, allocations: 12 kB / 0.583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.405, allocations: 4 kB / 0.583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.405, allocations: 4 kB / 0.583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.4066, allocations: 1.028 MB / 0.584 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.4068, allocations: 103.6 kB / 0.5841 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.4069, allocations: 19.98 kB / 0.5841 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.4072, allocations: 12 kB / 0.5841 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4074, allocations: 52.34 kB / 0.5842 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.4074, allocations: 20 kB / 0.5842 GB, free: 8.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004809/0.4079, allocations: 366.8 kB / 0.5846 GB, free: 8.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4079, allocations: 0 / 0.5846 GB, free: 8.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009165/0.4088, allocations: 216 kB / 0.5848 GB, free: 8.195 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.001889/0.4107, allocations: 1.597 MB / 0.5863 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.4127, allocations: 1.084 MB / 0.5874 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4127, allocations: 0 / 0.5874 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.4132, allocations: 294.6 kB / 0.5877 GB, free: 5.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/0.4141, allocations: 156.9 kB / 0.5878 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.425, allocations: 7.174 MB / 0.5948 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.4258, allocations: 1.071 MB / 0.5959 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006566/0.4265, allocations: 225.6 kB / 0.5961 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.4269, allocations: 311.3 kB / 0.5964 GB, free: 11.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4269, allocations: 4 kB / 0.5964 GB, free: 11.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.4761, allocations: 16.31 MB / 0.6123 GB, free: 11.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.34, allocations: 11.19 kB / 0.6123 GB, free: 11.59 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.424395330017433]