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.001651/0.001651, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001485/0.001485, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1841/0.1841, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.002233/0.002233, allocations: 71.91 kB / 492.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3288, allocations: 62.47 MB / 0.5419 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008564/0.3374, allocations: 6.335 MB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004064/0.3415, allocations: 1.921 MB / 0.55 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.342, allocations: 30.44 kB / 0.55 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.3439, allocations: 0.7088 MB / 0.5507 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.3455, allocations: 0.5754 MB / 0.5513 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.3463, allocations: 253.3 kB / 0.5515 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.3479, allocations: 1.147 MB / 0.5526 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007547/0.3487, allocations: 473.8 kB / 0.5531 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.3497, allocations: 0.542 MB / 0.5536 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3509, allocations: 0.6308 MB / 0.5542 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.3511, allocations: 68.72 kB / 0.5543 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.3518, allocations: 276.2 kB / 0.5546 GB, free: 7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.3524, allocations: 494.9 kB / 0.555 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005424/0.3529, allocations: 409.3 kB / 0.5554 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.3545, allocations: 1.198 MB / 0.5566 GB, free: 5.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3545, allocations: 0 / 0.5566 GB, free: 5.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3545, allocations: 0 / 0.5566 GB, free: 5.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.3545, allocations: 8 kB / 0.5566 GB, free: 5.238 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.002325/0.3569, allocations: 1.154 MB / 0.5577 GB, free: 4.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3569, allocations: 15.97 kB / 0.5577 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.3571, allocations: 143.9 kB / 0.5579 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.358, allocations: 168.2 kB / 0.558 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3593, allocations: 0.551 MB / 0.5586 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.3594, allocations: 74.3 kB / 0.5587 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.3597, allocations: 99.86 kB / 0.5587 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.3615, allocations: 1.161 MB / 0.5599 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.3615, allocations: 4 kB / 0.5599 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.3616, allocations: 32 kB / 0.5599 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.3618, allocations: 81.89 kB / 0.56 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.3635, allocations: 0.9913 MB / 0.561 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.3693, allocations: 3.904 MB / 0.5648 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.3705, allocations: 0.5833 MB / 0.5653 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.371, allocations: 280.6 kB / 0.5656 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.371, allocations: 8.5 kB / 0.5656 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.371, allocations: 43.06 kB / 0.5657 GB, free: 11.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.916e-06/0.371, allocations: 0 / 0.5657 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003043/0.3741, allocations: 1.688 MB / 0.5673 GB, free: 9.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.3741, allocations: 85.77 kB / 0.5674 GB, free: 9.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008284/0.375, allocations: 0.5611 MB / 0.5679 GB, free: 9.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.375, allocations: 33.7 kB / 0.568 GB, free: 9.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.3754, allocations: 460 kB / 0.5684 GB, free: 8.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.3756, allocations: 226.1 kB / 0.5686 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.3759, allocations: 186.5 kB / 0.5688 GB, free: 8.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.3761, allocations: 382.8 kB / 0.5692 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.3766, allocations: 285.8 kB / 0.5694 GB, free: 7.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.3774, allocations: 0.6155 MB / 0.57 GB, free: 6.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.3788, allocations: 0.971 MB / 0.571 GB, free: 5.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.3789, allocations: 4 kB / 0.571 GB, free: 5.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002335/0.3812, allocations: 1.171 MB / 0.5721 GB, free: 4.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3812, allocations: 11.94 kB / 0.5721 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001506/0.3827, allocations: 0.7067 MB / 0.5728 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.3835, allocations: 222.6 kB / 0.573 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.3843, allocations: 211.7 kB / 0.5733 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/0.3899, allocations: 5.035 MB / 0.5782 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.3905, allocations: 36.27 kB / 0.5782 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.3906, allocations: 43.98 kB / 0.5782 GB, free: 13.97 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.0005422/0.3912, allocations: 345.4 kB / 0.5786 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.3913, allocations: 79.44 kB / 0.5786 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.3925, allocations: 0.6599 MB / 0.5793 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3925, allocations: 8 kB / 0.5793 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3925, allocations: 0 / 0.5793 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3925, allocations: 3.984 kB / 0.5793 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.3953, allocations: 1.451 MB / 0.5807 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3953, allocations: 4 kB / 0.5807 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/0.3961, allocations: 175.9 kB / 0.5809 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.3961, allocations: 4 kB / 0.5809 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.3961, allocations: 15.98 kB / 0.5809 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3961, allocations: 4 kB / 0.5809 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3961, allocations: 4 kB / 0.5809 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.3977, allocations: 1.028 MB / 0.5819 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.398, allocations: 107.5 kB / 0.582 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.3981, allocations: 16 kB / 0.582 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.3984, allocations: 19.98 kB / 0.5821 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3985, allocations: 56.28 kB / 0.5821 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.3985, allocations: 20 kB / 0.5821 GB, free: 9.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004207/0.399, allocations: 358.8 kB / 0.5825 GB, free: 9.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.399, allocations: 0 / 0.5825 GB, free: 9.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008408/0.3998, allocations: 216 kB / 0.5827 GB, free: 9.301 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.002006/0.4018, allocations: 1.593 MB / 0.5842 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.4038, allocations: 1.082 MB / 0.5853 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4038, allocations: 0 / 0.5853 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.4043, allocations: 294.6 kB / 0.5856 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.4051, allocations: 171.9 kB / 0.5857 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.416, allocations: 7.166 MB / 0.5927 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.4166, allocations: 478.7 kB / 0.5932 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006384/0.4173, allocations: 229.6 kB / 0.5934 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.4177, allocations: 311.3 kB / 0.5937 GB, free: 13.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4177, allocations: 0 / 0.5937 GB, free: 13.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.475, allocations: 16.55 MB / 0.6099 GB, free: 13.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.92, allocations: 7.5 kB / 0.6099 GB, free: 13.12 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.925767161883414]